Indexing and searching with StandardAnalyzer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Indexing and searching with StandardAnalyzer

Bob Cheung-2
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?

Regards,
Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]