lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Wildcard in Field
Date Thu, 18 Dec 2003 13:36:11 GMT
During indexing, perhaps you could glue all fields text together into 
one special field used for searching?


On Thursday, December 18, 2003, at 06:31  AM, Thijs Cadier wrote:

> 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" <otis_gospodnetic@yahoo.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> 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 <thijs@cadier.net> 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: lucene-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> New Yahoo! Photos - easier uploading and sharing.
>> http://photos.yahoo.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


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


Mime
View raw message