Erick Erickson wrote:

            doc.add(
                    new Field(
                            "f",
                            "This is Some Mixed, case Junk($*%& With Ugly
SYmbols",
                            Field.Store.YES,
                            Field.Index.TOKENIZED));

<snip>

prints "This is Some Mixed, case Junk($*%& With Ugly SYmbols"
yet still finds the document with a search for "junk" using
StandardAnalyzer.

Don't forget you can't sort on that as the field's tokenized, so although it's stored in the original and indexed as lower case into multiple tokens, you will get the RuntimeException from FieldCache.

Antony



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

Reply via email to