Hi all, I'd like to provide a blurb of documents matching a search in
the case when there is no text highlighted. I assumed that perhaps the
highlighter would give me back the first few words in a document if this
occurred, but it doesn't. My conundrum is that I'd rather not grab the
whole docume
09, 2007 2:32 PM
To: solr-user@lucene.apache.org
Subject: Re: Creating a document blurb when nothing is returned from
highlight feature
On 9-Aug-07, at 2:10 PM, Benjamin Higgins wrote:
> Hi all, I'd like to provide a blurb of documents matching a search in
> the case when there is no te
Hi again,
It'd be nice to know what the starting line number is for highlighted
snippets. I imagine others might find it useful to know the starting
byte offset. Is there an easy way to add this in? I'm not afraid of
hacking the source if it's not too involved.
Thanks.
Ben
(using last night's Solr build)
Can't seem to get this to work. I am trying to use the regex
highlighter fragment type. The docs suggest looking at the example
solrconifg.xml for a demonstration of a fragmentor that splits on
sentences. It looks like this:
[-\w ,/\n\"']{20,200}
This
Hi all, I am using a mostly out-of-the-box install of Solr that I'm
using to search through our code repositories. I've run into a funny
problem where searches for text that is camelCased aren't returning
results unless the casing is exactly the same.
For example, a query for "getElementById" r
> Well, he might want to split on punctuation.
I do, so I just turned off splitOnCaseChange instead of removing
WordDelimiterFilterFactory completely.
It's looking good now!
> The OP's problem might have to do with index/query-time analyzer
> mismatch. We'd know more if he posted the schema d