Any particular reason for the double quotes in the 2nd and 3rd query example, but not the 1st, or is this just an artifact of your email?
-Todd -----Original Message----- From: Rakhi Khatwani [mailto:rkhatw...@gmail.com] Sent: Tuesday, October 06, 2009 2:26 AM To: solr-user@lucene.apache.org Subject: using regular expressions in solr query Hi, i have an example in which i want to use a regular expression in my solr query: for example: suppose i wanna search on a sample : <str name="content">raakhi rajnish ninad goureya sheetal</str> <str name="content">ritesh rajnish ninad goureya sheetal</str> where my content field is of type text when i type in QUERY: content:raa* RESPONSE : <str name="content">raakhi rajnish ninad goureya sheetal</str> QUERY: content:"ra*" RESPONSE: 0 results coz of this i am facing problems with the next query: QUERY: content: "r* rajnish" RESPONSE: 0 results which should ideally return both the results. any pointers?? Regards, Raakhi