Sure, see PerFieldAnalyzerWrapper. It's designed to allow different
analyzers for different fields.
Erick
On 1/12/07, M A <[EMAIL PROTECTED]> wrote:
Analyzer analyzer = new StandardAnalyzer(new String[]{});
The analyzer used in both cases, would be this one in the code, above.
Does this mean
Analyzer analyzer = new StandardAnalyzer(new String[]{});
The analyzer used in both cases, would be this one in the code, above.
Does this mean i would have to create a new Analyzer and reindex the whole
lot?
Bearing in mind ofcourse that there is also a free text element also,
See this become
What analyzers are you using for your queries and your indexing?
StandardAnalyzer (I believe) will break "A.B" into two tokens , so your
index could contain both tags. So what you really have in the index would be
story1 A C E
story2: A B P Q (note no '.').
searching for B.A would really searc