I have been trying to figure out how the search works.
In almost all of my posts I add Dave to the end. (in the old forums I used that to narrow down my posts) So ,,,If I search for 'Dave' in the custom forum I would expect to see close to 3000+ results. This is not the case.
"Dave" is not in my signature.
It seems that the searched word has to be in the first post.
Valiant seemed to quote me somewhere (at least he was quoting someone and I had said something alike that text) but searching for the single word "lego" only yielded 2 topics which both had "lego" in the first post. I couldn't find my reply and I couldn't find valiants reply where he quoted using the word "lego".
Is this a user or website error (and will it be fixed (when website))??
______________________
I made a theme for G2, try it
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-10-13 04:12
I haven't looked into it yet, but it's quite possible this drupal search is only searching nodes (topics (first posts)) and not comments (replies).. yes if that's true it is teh suck.
RalphTheWonderLlama
Joined: 2005-07-16
Posts: 68
Posted: Wed, 2005-10-26 21:43
yeah I had the same problem, I thought where is the forum search. I saw the search at the top but it was next to the forums link itself so I figured it wasn't the forum search. I did it anyway and it seemed to search the forum but not doing it quite like I want either. At least you can specify the forum in advanced search. Some of the text boxes were freaking out on my IE browser as well, they would run over the column of stuff on the right, I'd be typing over site text.
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-10-27 23:53
Ok, took a look at this today. Turns out a bug in trip_search module prevents comments (or attachment filenames) from being searched when a fulltext index on nodes(topics) is in use, as we have. I fixed the sql construction to resolve this and the resulting queries had big performance problems. Now I have added a new fulltext index on comments and a separate query to check the search against comments; results are merged in and displayed as topics (ie they don't link directly to the comment that matched). Also the "filter result by category" counts are only against topics, comment matches not counted. so, some things could be better, but the search is now checking comments which is a big improvement.
Whohoo!! I actually noticed the difference without reading your post. Well done
______________________
I made a theme for G2, try it
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-11-02 02:06
Now i've also made a fix so "searching for a phrase" should work too.
(though make sure the quoted phrase has at least one "significant" word, ie at least 4 letters and not a very common word.. seems mysql doesn't index these..)
Posts: 13451
Try the search link in the navbar on your top right?
h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org
Posts: 18
Now that was an obvious one hehehe
I thought it was the site search not the forum search
Posts: 13451
It is a site search, including the forums
h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org
Posts: 27300
I have been trying to figure out how the search works.
In almost all of my posts I add Dave to the end. (in the old forums I used that to narrow down my posts) So ,,,If I search for 'Dave' in the custom forum I would expect to see close to 3000+ results. This is not the case.
"Dave" is not in my signature.
It seems that the searched word has to be in the first post.
Can sombody explain how to do better searches.
Dave
Gallery Frames / Mods || G1 Test Gallery
Posts: 383
I have a similar problem.
Valiant seemed to quote me somewhere (at least he was quoting someone and I had said something alike that text) but searching for the single word "lego" only yielded 2 topics which both had "lego" in the first post. I couldn't find my reply and I couldn't find valiants reply where he quoted using the word "lego".
Is this a user or website error (and will it be fixed (when website))??
______________________
I made a theme for G2, try it
Posts: 8601
I haven't looked into it yet, but it's quite possible this drupal search is only searching nodes (topics (first posts)) and not comments (replies).. yes if that's true it is teh suck.
Posts: 68
yeah I had the same problem, I thought where is the forum search. I saw the search at the top but it was next to the forums link itself so I figured it wasn't the forum search. I did it anyway and it seemed to search the forum but not doing it quite like I want either. At least you can specify the forum in advanced search. Some of the text boxes were freaking out on my IE browser as well, they would run over the column of stuff on the right, I'd be typing over site text.
Posts: 8601
Ok, took a look at this today. Turns out a bug in trip_search module prevents comments (or attachment filenames) from being searched when a fulltext index on nodes(topics) is in use, as we have. I fixed the sql construction to resolve this and the resulting queries had big performance problems. Now I have added a new fulltext index on comments and a separate query to check the search against comments; results are merged in and displayed as topics (ie they don't link directly to the comment that matched). Also the "filter result by category" counts are only against topics, comment matches not counted. so, some things could be better, but the search is now checking comments which is a big improvement.
http://drupal.org/node/35454
Posts: 383
Whohoo!! I actually noticed the difference without reading your post. Well done
______________________
I made a theme for G2, try it
Posts: 8601
Now i've also made a fix so "searching for a phrase" should work too.
(though make sure the quoted phrase has at least one "significant" word, ie at least 4 letters and not a very common word.. seems mysql doesn't index these..)