Thanks for the article.
I am indexing each page of a document as if it were a document.
I think the answer is to configure SOLR for use of the TermVector Component:
http://wiki.apache.org/solr/TermVectorComponent
I have not tried it yet, but someone told me on StackExchange forum to try
this on
See comments inline below.
On Sun, Jan 22, 2012 at 8:27 PM, Erick Erickson wrote:
> Faceting won't work at all. Its function is to return the count
> of the *documents* that a value occurs in, so that's no good
> for your use case.
>
> "I don't know how to issue a proper SOLR query that returns a
Faceting won't work at all. Its function is to return the count
of the *documents* that a value occurs in, so that's no good
for your use case.
"I don't know how to issue a proper SOLR query that returns a word count for
a paragraph of text such as the term "amplifier" for a field. For some
reason