|
Re: Search logic failure &other stuff [message #8836 is a reply to message #8832] |
Tue, 25 February 2003 19:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Adding fields for the sake of removing 1 to 1 joins is pointless only adds more complexity to ensure that data is valid etc... Performance wise it may even end up slower overall if you consider the maintenance logic' behind adding such a thing.
Current search system does indeed use OR logic, however the results are sorted by the number of words found in each message. So a message with the entire string in it would appear on the 1st page or near the very top if there are more messages with that exact string found. You could of course use the AND logic and then get a much smaller result set. For example "problem feature php" with AND logic results in only 5 entries.
The pager is indeed a bug and will be fixed.
As for search logic I think it is fine, at lease I personally don't see a better & faster approach. If you have some code example or suggestions they are more then welcome and I'll definately review/consider them.
FUDforum Core Developer
|
|
|