lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Re: How to do an all field search without using a "catchall" fieldor "MultiFieldQueryParser" ?
Date Thu, 17 Mar 2011 12:09:14 GMT
OK, yes, if you do need to "specify certain fields as required, and
others as prohibited" then you'll need to build and populate that
array.  There is also a parse method that doesn't require the array if
you just want to search all the fields.

I hope that the 2_3_1 links don't indicate that you are using that version.


--
Ian.


On Thu, Mar 17, 2011 at 11:51 AM, shrinath.m <shrinath.m@webyog.com> wrote:
> On Thu, Mar 17, 2011 at 4:48 PM, Ian Lea [via Lucene] <
> ml-node+2693036-1270863785-376162@n3.nabble.com> wrote:
>
>> > I'd have to create a similarly sized array of Boolean.Occur too, isn't
>> it?
>>
>> What for?
>
>
> http://lucene.apache.org/java/2_3_1/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html
>
> <http://lucene.apache.org/java/2_3_1/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html>Look
> at the parse method.
>
> --
> Regards
> Shrinath.M
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/How-to-do-an-all-field-search-without-using-a-catchall-field-or-MultiFieldQueryParser-tp2681163p2693112.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message