Re: Solr list all records but fq matching records first

2013-08-06 Thread Thyagaraj
ORDER.asc); //setting filter query query.setFilterQueries("table_for:[2 TO *]"); //getting results from solr QueryResponse rsp = server.query( query ) Thank you! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-list-all-records-but-fq-matching-records-first-tp4081572p4082934.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr list all records but fq matching records first

2013-08-02 Thread Shawn Heisey
> I tried below two methods(edismax & OR) in solrj java coding but I did not > get the results in order, like listing matching records at the top. Am I > doing anything wrong in below java coding? > > > Method 1 > : > SolrQuery query = new SolrQuery().setStart(first).setRows( >

Re: Solr list all records but fq matching records first

2013-08-02 Thread Thyagaraj
uery.setParam("spatial", "true"); query.setParam("pt","17.4020637,78.4840052"); query.setParam("sfield", "geo_lat_long"); query.addSort("geodist()", ORDER.asc); //setting filter query query.setFilterQueries("table_for:[2 TO *]

Re: Solr list all records but fq matching records first

2013-07-31 Thread Thyagaraj
Thank you very much!, -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-list-all-records-but-fq-matching-records-first-tp4081572p4081826.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr list all records but fq matching records first

2013-07-31 Thread Thyagaraj
66.n3.nabble.com/Solr-list-all-records-but-fq-matching-records-first-tp4081572p4081677.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr list all records but fq matching records first

2013-07-31 Thread Jack Krupansky
ubject: Re: Solr list all records but fq matching records first Awesome Jack Krupansky-2!!!. It seems to work!. What I didn't understand is *^100*. Could you give some explanation on ^100 please? if it could be any number other than 100?. Thanks a lot!, I was working on this for past 3 da

Re: Solr list all records but fq matching records first

2013-07-31 Thread Jack Krupansky
rom: Thyagaraj Sent: Wednesday, July 31, 2013 5:32 AM To: solr-user@lucene.apache.org Subject: Solr list all records but fq matching records first I’m using solr 4.0 with DIH jdbc connector. I have a field named *code* with multiple values separated by semicolon(;). I am trying to list the search resu

Solr list all records but fq matching records first

2013-07-31 Thread Thyagaraj
. Anybody with any relevant guidance would be very much helpful!. Thank you! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-list-all-records-but-fq-matching-records-first-tp4081572.html Sent from the Solr - User mailing list archive at Nabble.com.