Hi,

My "current" problem is to know how to make queries in special fields:

   .Date Fields
   .MultiValued Fields

Date Fields

   I have in my schema some date fields like this

   <field name="creation_date" type="date" indexed="true" stored="true"/>

   And when I add content to  this field I put in this mode:

   <field name="creation_date">2006-08-11T00:00:00Z</field>

   But when I try to serch


http://localhost:8080/solr/select/?stylesheet=&q=creation_date:2006-08-10T00:00:00Z&version=2.1&start=0&rows=10&indent=on

   I get this  error :
   org.apache.solr.core.SolrException: Invalid Date String:'2006-08-10T00'

   I think there is some special format to do queries like this :(

MultiValued Fields

   My other problem is when I try to search in a multiValued Field.

   I have in my schema this multiValued field

     <field name="cod_profile" type="string" indexed="true" stored="true"
multiValued="true"/>

   But when I try to search more than one value


http://localhost:8080/solr/select/?stylesheet=&q=cod_profile:84755+84756+84757&version=2.1&start=0&rows=10&indent=on


   I get this result <result numFound="0" start="0"/>


I read the Solr Wiki, but I didn't find examples for these situations. Could
anyone please give me some "light" :)

Thanks for attention.

BR,

Marcio

Reply via email to