Sure, Lucene is kind of column oriented DB. if the same text occurs in two
different fields there is no any relation between such terms i.e. BRAND:RED
vs COLOR:RED. The only thing I can suggest you is build separate index (in
solr core) with docs like token:RED; fields:{COLOR, BRAND,,} or giving your
initial sample:
{token:admin; field:author; original_text:system_admin}
{token:admin; field:author; original_text:admin}
{token:admin; field:doctitle; original_text:AdminGuide}
...
then you can search by token:admin and find such occurrence documents.

On Thu, Aug 9, 2012 at 10:50 PM, Bing Hua <bh...@cornell.edu> wrote:

> Thanks Kuli and Mikhail,
>
> Using either termcomponent or suggester I could get some suggested terms
> but
> it's still confusing me how to get the respective field names. In order to
> get that, Use TermComponent I'll need to do a term query to every possible
> field. Similar things as using SpellCheckComponent. CopyField won't help
> since I want the original field name.
>
> Any suggestions?
> Bing
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Does-Solr-support-Value-Search-tp3999654p4000267.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Tech Lead
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to