lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lavesh <>
Subject Handling large no. of ids in solr
Date Wed, 01 May 2013 09:09:41 GMT

down vote
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

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:
Sent from the Solr - User mailing list archive at

View raw message