lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: regex in Solr Query
Date Thu, 13 Mar 2014 11:00:10 GMT
Hi Priti,

Thats an interesting question, I wonder the answer by myself too. Does prefix query work with
int?
q=pubdateraw:2013*  ?

By mean time, as a workaround, try range queries. q=pubdateraw:{20130101 TO 20131231}



On Thursday, March 13, 2014 12:45 PM, Priti Solanki <pritiatwork@gmail.com> wrote:
Hi,


I am trying to fetch all the record for 2005

I have field(int) "pubdateraw": 20130508

Not working - select?q=pubdateraw:/2013*/

Not working - select?q=pubdateraw:/.2013*./

Is it possible to have regex on int field in solr 4.5??

to get the record with "20130508" how am i suppose to write my query in
solr.
Any reading links will be very much helpful.

Regards,
Priti


Mime
View raw message