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
i.e
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.
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)
pr
I'm using this sample query to group the result set by category:
q=test&group=true&group.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,"doc
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
Sent
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 t
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.
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(PRICE>1000,70,40))
need to order by (if(str>100,40+str/40,33+str/33)+SOMEOTHERCOLUMN) DESC
--
View this message in context:
ible to minimize the functions (and
> thus caches) you need at query time.
>
> 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 B
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 c
10 matches
Mail list logo