lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: default AND operator
Date Sun, 17 Sep 2006 20:35:53 GMT
: index using the StandardAnalyzer, the docs are transformed using that
: analyzer then written to the index post transformation. So stop words or
: things like apostrophes would be removed.

if the analyzer used behaves that way, then yes -- the indexed terms will
remove those things.

: "Scott's Lawn and Garden Care"     becomes    "Scott Lawn Garden Care"
:
: It just seems that my index written using the StandardAnalyzer still has
: things like apostophes and also things like the & symbol.

1) maybe you didn't really use StandardAnalyzer when the index was built?
2) keep in mind there is a differnece between the indexed terms (matched
when doing queries) and the the stored values of fields which are
displayed when you look at docs -- the stored values are never affected by
the analyzer.  when you say you still see apostophes in your index, are
you looking at hte stored values, or are you looking ta the indexed Terms?
.. as i recall Luke lets you see both.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message