That functionality exists in Lucene (SpanQuery), but is not currently exposed in Solr. It would be a welcome addition, though, in Solr.

-Grant

On Dec 17, 2008, at 12:18 PM, RobertV wrote:


No, this is not the number of docs returned by the query. The phrase "Wall Street Journal" might occur 25 times across 10 documents, so the count would
be 25 in this example even though there are 10 associated documents
represented.


Grant Ingersoll-6 wrote:


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



--
View this message in context: 
http://www.nabble.com/aggregation-in-lucene-tp21041575p21057383.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










Reply via email to