Hi,

I am currently passing the query by passing the values to my search
component.

For ex:

http://localhost:8983/solr/select?firstname=charles&lastname=dawson&qt=person

Person search component is configured to accept the values and form the
query

 <str name="q">
        (
          _query_:"{!wp_dismax qf=fname^8.3 v=$firstname}" OR
          _query_:"{!wp_dismax qf=lname^8.6 v=$lastname}"
        )
</str>

Now I am trying to figure out a way to pass the values / ranges like below
but I am getting syntax errors..

Ex:

 <str name="q">
(
          _query_:"{!v=fname:$firstname}" OR
          _query_:"{!v=fname:([$firstname to $firstname])^8.3}" 
)

Can someone let me know if theres a way to overcome this issue?






--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-pass-ranges-values-to-form-query-in-search-component-tp4083141.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to