lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From émile coué <lahlou1...@gmail.com>
Subject search in related multiValued fields
Date Tue, 18 Mar 2008 13:02:42 GMT

Hi,

I am stuck at the search in related multiValued fields.
Suppose I have the following data:
<doc>
    <str Name="id"> in-550803 </ str>
    <str Name="name"> Ibrahim EL AMRANI </ str>
    <arr Name="experience_company">
       <str> GFI  </ str>
       <str> OUTSOURCIA </ str>
    </ Arr>
    <arr Name="experience_years">
       <str> 2 </ str>
       <str> 2 </ str>
    </ Arr>
<doc>
<doc>
    <str Name="id"> com-550804 </ str>
    <str Name="name"> Mehdi LAHLOU </ str>
    <arr Name="experience_company">
       <str> Smart Development </ str>
       <str> GFI </ str>
    </ Arr>
    <arr Name="experience_years">
       <str> 2 </ str>
       <str> 1 </ str>
    </ Arr>
<doc>

The "experience_company", "experience_years" are linked, so the value of the
first "experience_company" is linked with the first "experience_years" and
the second with the second and so on ...

If I want, for example, to select the people whose fields
"experience_company" equal "GFI", and "experience_years" equal 2, how to
express the request? q =????

Thanks
-- 
View this message in context: http://www.nabble.com/search-in-related-multiValued-fields-tp16120730p16120730.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message