You need to present your query terms in the same format as the pre-analyzed
terms come in.
In other words, you need to do the pre-analysis yourself when constructing
the query.
-- Jack Krupansky
-----Original Message-----
From: Alexandre Rafalovitch
Sent: Thursday, January 03, 2013 5:53 AM
To: solr-user@lucene.apache.org
Subject: Anybody uses PreAnalyzedField ?
Hello,
I am looking at various ways to get content into Solr and one of the new
ones is PreAnalyzedField, which allows to use arbitrary difficult analyzer
chain externally and just feed the results in.
Problem is, I cannot figure out how to query it. Since the index-time
analyzers are external to Solr, how does it generate internal tokens during
query time? Or is it some sort of pre-parsed tokens supplied at query time
as well?
Does somebody have a working example/explanation to save me a time of
building a full test case.
Thank you,
Alex.
Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working. (Anonymous - via GTD book)