I am using a QueryParser, looked at the MultiFieldQueryParser.

But the issue is that I don't know wich fields are in the documents when the
query is constructed. The most simple solution would be searching in all the
fields in every document.



----- Original Message ----- 
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 12:24 PM
Subject: Re: Wildcard in Field


> You can use raw *Query classes and OR, perhaps.
> Or, if you are using QueryParser, there is a MultiFieldQueryParser (or
> something like that) class....which I've used awhile ago.
>
> Otis
>
> --- Thijs Cadier <[EMAIL PROTECTED]> wrote:
> > I'm implementing Lucene in our Content Management system. A plugin
> > for every
> > type of content fills the Document, so I have no control over the
> > amount and
> > names of the fields.
> >
> > Now I'm trying to do a search in every field. But Lucene won't accept
> > a * as
> > a field name in the Query. Is there a way to perform a search like
> > this?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>
> ---------------------------------------------------------------------
> 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