That question was badly worded.  I was trying to ask that when I write an
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.

"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.

On 9/17/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:


what do you mean "written to the index per field" .. analyzers aren't
written to the index at all, the analyzer used is completely forgotten
once your index is built.  if you want seperate analyzers per field, take
a look at the PerFieldAnalyzerWrapper (i think that's the name) ... as for
why Stemmed Queries might match on terms indexed using StandardAnalyzer
... who knows ... it depends on how exactly they are getting stemmed, and
what other types of data might have made it into your index (maybe your
source data had the words you are searching on spelled incorrectly as
well, and it just happens to match the stemmed versions).

When you have questions like this, searcher.explain is your friend.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to