lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Parse multiple fields using Queryparser
Date Mon, 18 Oct 2010 22:24:14 GMT
You can create your own BooleanQuery and just add clauses as you need to
as well...

Best
Erick

On Mon, Oct 18, 2010 at 1:55 PM, Nilesh Vijaywargiay <nilesh.vijay@gmail.com
> wrote:

> I have many fields in my document and want to parse my query including each
> of them
>
> QueryParser parser = new QueryParser(Version.LUCENE_29, "Field2",new
> StandardAnalyzer(Version.LUCENE_29));
>
> Should I create multiple parsers in this case or is there any other way
> round?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message