Search with multiple parameters in solr -
currently having query this
q=mysearchparameters
it working fine, , think search keyword in fields, want retrieve data based in specific field this
q=name:'somename'+specialization:'somespecialization'
is possible query like, here getting unexpected datas second query.
you can have multiple queries, anded together, this:
q=name:somename , specialization:somespecialization
or orer this:
q=name:somename or specialization:somespecialization
or can use filter queries , them together:
q=*:*&fq=name:somename&fq=specialization:somespecialization
i won't queries versus filter queries covered better elsewhere:
Comments
Post a Comment