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)
problem with this approach is that when ids become large, solr talking too
much time to resolved and we need to transfer large request over the
network.

one solution can be use of join in solr but online data change regularly and
i cant index data everytime(say 5-10 min, it should be at-least an hr)

other solution i think of firing this query internally from solr based on
certain parameter in url. I dnt have much idea abt solr internals so don't
know how to proceed on this.

can anyone help me on this or can provide an alternate solution ?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Handling-large-no-of-ids-in-solr-tp4060218.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to