On Dec 17, 2008, at 10:43 AM, RobertV wrote:
Can I obtain counts for terms and multi-word phrases within a set of
documents? E.g. can I use Solr to retrieve the number of times the
phrase
"Wall Street Journal" was mentioned in documents where fieldA =
'abc' and
fieldB = 'xyz' etc..?
I believe so. Isn't that just the number of docs returned for that
query? You can pass arbitrary queries to Solr to facet on, too. I'd
have a look at http://wiki.apache.org/solr/SimpleFacetParameters
Grant Ingersoll-6 wrote:
See Solr's faceting capabilities. http://lucene.apache.org/solr and
the wiki from there. Faceting is built right in.
--
View this message in context:
http://www.nabble.com/aggregation-in-lucene-tp21041575p21054569.html
Sent from the Lucene - General mailing list archive at Nabble.com.
--------------------------
Grant Ingersoll
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ