Opened 17 years ago

Closed 17 years ago

#339 closed defect (fixed)

Phrase searches do not work properly

Reported by: bweaver Owned by: bweaver
Priority: major Milestone: Beta 3
Component: Search Engine Version: 1.5.1034
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

When searching for a phrase (i.e. quoted words), results are incorrect. For instance, searching for zea united states returns fewer hits than zea "united states". That should return either fewer or exactly the same number of hits, not more.

Search command parsing and processing queue code needs to be fixed to handle this situation properly. What about searches for don't? That's an interesting problem, as right now it'll get parsed as don and t, meaning 2 separate words are looked up.

Change History (3)

comment:1 by bweaver, 17 years ago

Status: new → addressed

(In [1037]) Fixes #339 - changed search command processing code to delay resolving id's for quoted terms until after all hits have been gathered and compared, leaving only hits with valid keywordoffsets.

Fixes #340 - B+ tree problem -- when keyword hits spanned multiple leaf nodes, leaf node search code was not properly loading its right sibling leaf node and continuing to fill matches. Only applies to right-hand likes (aka 'StartsWith' KeywordMatchMode) because left-hand likes simply traverses all leaf nodes to find hits. Right-hand ones do a normal search for the beginning substring, then spin across leaves until keyword matches run out. The 'spin across' part wasn't working right.

Added more admin tool forms for Search Engine

comment:2 by bweaver, 17 years ago

Status: addressed → released

comment:3 by rlittle, 17 years ago

Resolution: → fixed
Status: released → closed
Note: See TracTickets for help on using tickets.