Faceting will do this for you. Check out:
http://wiki.apache.org/solr/SimpleFacetParameters#facet.field
This param allows you to specify a field which should be treated as a facet.
> It will iterate over each Term in the field and generate a facet count using
> that Term as the constraint.
>
>
For
Take this with a sizeable grain of salt as I haven't actually tried doing
this. But you might try using an IndexReader which it looks like you can get
from this class:
http://lucene.apache.org/solr/api/org/apache/solr/core/StandardIndexReaderFactory.html
sasank
On Tue, Nov 30, 2010 at 6:45 AM, L
Hi,
I've been poking around the JavaDocs a bit, and it looks like it's possible
to directly read the index using the Solr Java API. Hoping to clarify a
couple of things --
1) Do I need to read the index with Solr APIs, or can I use Lucene (PyLucene
is particularly attractive...)? If so, how wary
get you there.
>
> But to be frank- highlighting is a tough problem and has always had a
> lot of edge cases.
>
> On Tue, Nov 9, 2010 at 6:08 PM, Sasank Mudunuri wrote:
> > I'm finding that if a keyword appears in a field multiple times very
> close
> > tog
I'm finding that if a keyword appears in a field multiple times very close
together, it will get highlighted as a phrase even though there are other
terms between the two instances. So this search:
http://localhost:8983/solr/select/?
hl=true&
hl.snippets=1&
q=residue&
hl.fragsize=0&
mergeContiguo
waste time by
> thinking I'm an authority on this one. See:
>
> http://lucene.apache.org/solr/api/org/apache/solr/search/RawQParserPlugin.html
>
> and
> http://wiki.apache.org/solr/SolrQuerySyntax
> (this last under "built in query parsers").
>
> HTH
> Eri
Hi Solr Users,
I used the TermsComponent to walk through all the indexed terms and find
ones of particular interest (named entities). And now, I'd like to search
for documents that contain these particular entities. I have both query-time
and index-time stemming set for the field, which means I ca