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:

solr filter-query vs main-query


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -