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 <shrinat...@webyog.com> wrote:
> On Thu, Mar 17, 2011 at 4:48 PM, Ian Lea [via Lucene] <
> ml-node+2693036-1270863785-376...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to