Hi there,
My "web" search doesn't appear to be working at a body level when searching for key words in topics.
The only results I can get it to come back with is topic titles, but it fails to pick up any words within a topic body.
My configure page is returing no warnings or errors so I am assuming that everything is working fine and well.
Any ideas as to what could be causing this?
Thanks,
Stuart
--
StuartBell - 01 Jul 2008
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
This usually indicates that there is something broken with your
grep commands. It is a well-known nuisance for platforms with non-Gnu-grep, but pretty strange for Linux. Just for the record: My settings in
bin/configure are (you'll need to click the "expert" button to see these):
{RCS}{SearchAlgorithm} = TWiki::Store::SearchAlgorithms::Forking
{RCS}{QueryAlgorithm} = TWiki::Store::QueryAlgorithms::BruteForce
{RCS}{EgrepCmd} = /bin/grep -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%
{RCS}{FgrepCmd} = /bin/grep -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%
I
think these are pretty much TWiki's defaults. Please check and report whether you have different settings, or whether you can fix your issues with these settings!
--
HaraldJoerg - 02 Jul 2008
I checked my settings and they were set to the following:
egrep /bin/egrep /usr/share/man/man1p/grep.1p.gz /usr/share/man/man1/grep.1.gz
fgrep /bin/fgrep /usr/share/man/man1p/grep.1p.gz /usr/share/man/man1/grep.1.gz
Which were apparently what was set from the out-the-box install. We changed it to your suggestion and it worked! So, thanks very much for your input.
Regards.
--
StuartBell - 03 Jul 2008
Topic revision: r3 - 03 Jul 2008 - 13:21:35 -
StuartBell