how to search to particular field in solr

how to search to particular field in solr

http://localhost.net:8983/solr/select?q={!dismax%20qf=documentname}gui

above query will search the documentname with value = gui

checking with two fields

http://localhost.net:8983/solr/select?q={!dismax qf=documentname qf=source v=amrinder}gui

This also works

http://reach1to1.net:8983/solr/select?q={%20documentname=gui%20source=amrinder}

 

but single field value is not worked.

 

Ref :

http://wiki.apache.org/solr/LocalParams

Advertisements

About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in lily. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s