How to customize Solr

2014-03-10 Thread lavesh
I want list of users who are online and fulfill the criteria specified. Current implementation: I am sending post parameters of online ids(usually 20k) with search criteria. How i want to optimize it: I must change the internal code of solr so that these 20k profiles are fetching from solr

Handling large no. of ids in solr

2013-05-01 Thread lavesh
1 down vote favorite I need to perform an online search in solr i.e user need to find list of user which are online with particular criteria. how i am handling this: we store the ids of user in a table and i send all online user id in solr request like fq=-id:(id1 id2 id3 id5000)

Re: Handling large no. of ids in solr

2013-05-01 Thread lavesh
i am sending list of online users and filters conditions as well. -- View this message in context: http://lucene.472066.n3.nabble.com/Handling-large-no-of-ids-in-solr-tp4060218p4060309.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr Sorting Not working properly

2013-04-10 Thread lavesh
I'm using this sample query to group the result set by category: q=testgroup=truegroup.field=category This works as expected and I get this sample response: response: {numFound:1,start:0,docs:[ { ... } {numFound:6,start:0,docs:[ { ... } {numFound:3,start:0,docs:[ { ... }

complex Solr Sorting Expression in 4.0 alpha

2012-09-25 Thread lavesh
I want to perform complex sorting expression for which i have upgraded to solr-aplha 4.0 apache-solr-4.0.0-BETA/select?q=:sort=map(sum(SCORE,11),77,77,sum(SCORE,33),sum(SCORE,44)) desc but when i try to run this , its not working. can anyone help me for such complex queries of solr -- View

Re: complex Solr Sorting Expression in 4.0 alpha

2012-09-25 Thread lavesh
How to specify a range using if query ? please help me in re-framing this using if query sort=map(sum(SCORE,11),77,77,sum(SCORE,33),sum(SCORE,44)) desc -- View this message in context: http://lucene.472066.n3.nabble.com/complex-Solr-Sorting-Expression-in-4-0-alpha-tp4010160p4010188.html

Re: Expression Sort in Solr

2012-07-31 Thread lavesh
yes i have, its not working as per need -- View this message in context: http://lucene.472066.n3.nabble.com/Expression-Sort-in-Solr-tp3998050p3998310.html Sent from the Solr - User mailing list archive at Nabble.com.

Expression Sort in Solr

2012-07-30 Thread lavesh
I am working on solr for search. I required to perform a expression sort such that : say str = ((IF AVAILABLE IN (1,2,3),100,IF(AVAILABLE IN (4,5,6),80,100)) + IF(PRICE1000,70,40)) need to order by (if(str100,40+str/40,33+str/33)+SOMEOTHERCOLUMN) DESC -- View this message in context:

Expression Sort in Solr

2012-07-26 Thread lavesh
am working on solr for search. I required to perform a expression sort such that ORDER BY (IF(COUNTRY=1,100,0) + IF(AVAILABLE=2,1000,IF(AVAILABLE=1,60,0)) + IF (DELIVERYIN IN (5,6,7),100,IF (DELIVERYIN IN (80,90),50,0))) DESC can anyone tell me hows is this possible? -- View this message in

Re: Expression Sort in Solr

2012-07-26 Thread lavesh
. Erik On Jul 26, 2012, at 03:47 , lavesh wrote: am working on solr for search. I required to perform a expression sort such that ORDER BY (IF(COUNTRY=1,100,0) + IF(AVAILABLE=2,1000,IF(AVAILABLE=1,60,0)) + IF (DELIVERYIN IN (5,6,7),100,IF (DELIVERYIN IN (80,90),50,0))) DESC can