Bug 38886

Summary: [PATCH] MemValueIndexer Broken for starts-with query
Product: Xindice Reporter: Terry Rosenbaum <Terry.Rosenbaum>
Component: DB EngineAssignee: Xindice Developers <xindice-dev>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: cvs head (1.1)   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch to fix MemValueIndexer for starts-with queries

Description Terry Rosenbaum 2006-03-07 17:57:08 UTC
MemValueIndexer handles starts-with queries incorrectly.

Can prove using the
org.apache.xindice.integration.client.services.IndexedSearchTest.

To do this, look for tests with the string "starts-with" in their xpath.
Change the indexer type from "Value" to "MemValue".

Build/run integration tests.

Will fail.

Patch included.
Comment 1 Terry Rosenbaum 2006-03-07 17:58:13 UTC
Created attachment 17842 [details]
Patch to fix MemValueIndexer for starts-with queries
Comment 2 Vadim Gritsenko 2007-01-30 18:12:40 UTC
Added test, applied patch. Thanks!