lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Le Normand <manuel.lenorm...@gmail.com>
Subject Common practice for free text field
Date Tue, 25 Jun 2013 21:00:30 GMT
My schema contains about a hundred of fields of various types (int,
strings, plain text, emails).
I was concerned what is the common practice for searching free text over
the index. Assuming there are not boosts related to field matching, these
are the options I see:

   1. Index and query a "all_fields" copyField source=*
   1.  advantages - only one query flow against a single index.
      2. disadvantage - the tokenizing is not necessarily adapted to this
      kind of field, this requires more storage and memory
   2. Field aliasing ( f.myalias.qf=realfield)
      1. advantages - opposite from the above
      2. disadvantages - a single query term would query 100 different
      fields. Multi term query might be a serious performance issue.

Any common practices?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message