lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Cheung" <>
Subject Indexing and searching with StandardAnalyzer
Date Tue, 09 May 2006 04:28:40 GMT
Using StandardAnalyzer, I was able to index a document containing the
string "co_cc" (without quotes) but I couldn't search for it.

Using Luke, I was able to see "co_cc" was indexed.  Using Luke to
search, I was not able to find any hit using StandardAnalyzer.

However, if I use KeywordAnalyzer to search, I could get the result.

Does anyone have any idea what's happening?

Query detail in Luke shows $co:"co cc" when using StandardAnalyzer while
it shows $co:co_cc when using KeywordAnalyzer.

If StandardAnalyzer splits co_cc into co and cc in searching, why does
it index co_cc as a whole string?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message