It would be much slower and scoring does not work as expected.
Full text search engines flatten the data and are fast because of that. Every
additional field structure should also be flattened. To improve search you also
index various stuff redundant, so you use copy fields to achieve that.
Uwe
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
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: u...@thetaphi.de
> -Original Message
This sounds like a good approach!
Le mer. 21 déc. 2016 à 13:31, suriya prakash a écrit :
> 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.
>
>