See PerFieldAnalyzerWrapper, then form your query like
field1:word1 OR field2:word1

Best
Erick

On Mon, Jun 20, 2011 at 10:40 AM, G.Long <[email protected]> wrote:
> Hi :)
>
> I know it is possible to create a query on different fields with different
> analyzers with PerFieldAnalyzer class but is it possible to also include
> fields which are not analyzed ?
>
> I want some fields not to be tokenized (an exact reference of an article for
> example) and others to be tokenized (like the description of the article). I
> would like to be able to search for a word in both fields with one single
> query.
>
> Thank you :)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to