No, it's just like any other field type, except that it is truly literal - it specifies all the details of the token and attribute stream that will be output by the field analyzer, but in source form. In other words, it's a language for describing a token stream that can be compiled into the actual token and attribute stream.

Sorry there isn't better doc right now. You'll have to look at the source code to make any sense of it.

-- Jack Krupansky

-----Original Message----- From: Alexandre Rafalovitch
Sent: Thursday, January 03, 2013 11:00 AM
To: solr-user@lucene.apache.org
Subject: Re: Anybody uses PreAnalyzedField ?

So, do you need a custom request handler? Or it somehow fits into (say)
eDismax handler?

Regards,
  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)


On Thu, Jan 3, 2013 at 10:21 AM, Jack Krupansky <j...@basetechnology.com>wrote:

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<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)


Reply via email to