Hi,

Go to your Solr admin page and enter this in that big text area:

experience_company:GFI AND experience_years:2

Then look at the URL after you've submitted the search.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
From: émile coué <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Tuesday, March 18, 2008 9:02:42 AM
Subject: search in related multiValued fields


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.




Reply via email to