start with negating and bypassing caches by https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-TermsQueryParser eg fq=-{!terms f=p_id cache=false}1,3,5,already,seen note: Elastic can even store such filters via https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html#_terms_lookup_mechanism
On Wed, Jun 10, 2015 at 8:26 PM, amid <a...@donanza.com> wrote: > Hi, > > We have a solr index with ~1M documents. > We want to give the ability to our users to filter results from queries - > meaning they will not shown again for any query of this specific user (we > currently have 10K users). > > You can think of a scenario like a "recommendation engine" which you don't > want to give recommendation more than once for each user. > > What is the best way to implement this feature (Performance & Memory)? > > Thanks, > Ami > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/The-best-way-to-exclude-seen-results-from-search-queries-tp4211022.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>