Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1124 closed enhancement (worksforme)

Discussion content should be searchable

Reported by: stuff@… Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

Large discussions become useless when they cannot be searchable (just as wiki, changesets and tickets). The idea is to allow discussion content to be searchable - either with fourth button on search page ("Discussion") or as a part of Wiki.

Attachments (0)

Change History (3)

comment:1 Changed 18 years ago by Radek Bartoň

Resolution: worksforme
Status: newclosed

They are. Just module tracdiscussion.search has to be enabled and it should be enabled by default. Futhermore DISCUSSION_VIEW permission has to be granted. Have you some problems with that module or something?

comment:2 Changed 18 years ago by stuff@…

It's just that installation instructions here http://trac-hacks.org/wiki/DiscussionPlugin do not mention search module. Thanks a lot!!

There is however some incompatibility/bug with DiscussionPlugin with trac 0.9. In tracdiscussion/search.py get_search_results expects query to be simple string (?) stuffed directly into query later on, whereas trac provides array of tokens. But this time i'll think it over before opening next token... ;-)

comment:3 Changed 18 years ago by Radek Bartoň

OK. I corrected documentation. Thanks for noticing. I haven't tested 0.9 version a long time since I started work on 0.10 version so it is possible that this is a result of incorrect merge of some changes from 0.10 to 0.9 version.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.