lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolás Lichtmaier <nicol...@wolfram.com>
Subject Re: All Fields Search
Date Thu, 22 Dec 2016 16:57:38 GMT
Why not turning every term int the search into a BooleanQuery listing 
all the diferent fields to be searched? Is there a problem with that?

Nicolás.-


El 21/12/16 a las 13:38, Uwe Schindler escribió:
> Hi,
>
> This is the standard approach, there is no better way. This also keeps "scoring" working
as expected, as the whole contents are seen as "one entity" during scoring.
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: suriya prakash [mailto:suriya3x@gmail.com]
>> Sent: Wednesday, December 21, 2016 1:31 PM
>> To: java-user@lucene.apache.org
>> Subject: All Fields Search
>>
>> Hi,
>>
>> I have 500 fields in a document to index.
>>
>> I append all the values and index it as separate field to support all
>> fields search. I will also have 500 separate fields for field level search.
>>
>>
>> Is there any other better way for all fields search?
>>
>>
>> Regards,
>> Suriya
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
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