DO NOT REPLY [Bug 38886] New: - [PATCH} MemValueIndexer Broken for starts-with query

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]/bugzilla/>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38886>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38886

           Summary: [PATCH} MemValueIndexer Broken for starts-with query
           Product: Xindice
           Version: cvs head (1.1)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DB Engine
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.