Doing a query for each term should work well. Solr is fast for queries. Write a script.
I assume you only need to do this once. Running all the queries will probably take less time than figuring out a different approach. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) On Sep 10, 2015, at 7:37 AM, Markus Jelsma <markus.jel...@openindex.io> wrote: > If you are interested in just the number of occurences of an indexed term. > The TermsComponent will give that answer. > MArkus > > -----Original message----- >> From:Francisco Andrés Fernández <fra...@gmail.com> >> Sent: Thursday 10th September 2015 15:58 >> To: solr-user@lucene.apache.org >> Subject: Detect term occurrences >> >> Hi all, I'm new to Solr. >> I want to detect all ocurrences of terms existing in a thesaurus into 1 or >> more documents. >> What´s the best strategy to make it? >> Doing a query for each term doesn't seem to be the best way. >> Many thanks, >> >> Francisco >>