lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RJ Tang <>
Subject related multivalued fields
Date Wed, 02 May 2007 15:40:20 GMT
I am a newbie to Solr and found it very easy to get started!
However, now I am stuck at this issue of dealing with correlated vector fields.
for example
the data on scientific publications. It will have a list of authors and their
respective organization. Sample data can be represented as: 
 <title>Toward better searching</title>
    <name>John Smith</name>
    <name>Mary Ann</name>
    <organization>Jumbo Inc</organization>

How can I make Solr handle query like: 
author:"John Smith" AND organization:"ACME"?

It seems I have to collapse the above sample into:
  <author_name>John Smith, Mary Ann<author_name>
  <author_organization>ACME, Jumbo Inc</author_organization>
Which obviously won't give me the answer I wanted.

This seems like a generic problem in handling hierarchical data
and right now I am hitting a roadblock in that solr only handles
flat scalar field values.

Would like to hear your suggestion/experience on how to handle the problem.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

View raw message