query in solr

for pagination

http://localhost:8983/solr/select/?q=recordtype:kba%20AND%20lily.id:%5B*%20TO%20*%5D%20&fl=lily.id,priority

?q=something&rows=10&start=20

For getting all the documetns of rahul :

http://localhost:8983/solr/select/?q=!type=dismax%20qf=foldername%20v=%27collage%27%20qf=source%20v=%27rahul%27

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

Sorting :

http://localhost:8983/solr/select/?q=youngib&fl=source,documentname&sort=source+asc

Facet query :

http://localhost:8983/solr/select/?q=*:*&facet=true&facet.field=source&facet.field=writeaccess

http://localhost:8983/solr/select/?facet=on&q=responsiblepersons:John&facet.field=recordtype&wt=json&rows=30

Ref :

http://lucene.apache.org/solr/tutorial.html

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