On 18.05.2010 15:33, Ravi Patel wrote:
Two Questions:
1. Is there a cost at search-time in making fields Tokenized that
don't need to be? I assume there's a cost at Index time, but I'm not
too worried about the Index cost.
Which analyzer are your using at index time?
2. Should fields that are used in my 3 example lines above by
Tokenized? If not, why am I seeing a huge performance difference
when they are UnTokenized? I'm really not running any queries that
require some sort of analysis on these fields other than that they
are indexed as-s
They should not be tokenized/analyzed, but this is highly dependent
on the analyzer.
In general, an ID-like field is never tokenized, unless the analyzer
is a bijective function.
Robert