Thanks Mark

Ill have a good look at that part now. And I managed to get it started again 
:-).

Thank you again

Lee

On 3 Mar 2010, at 18:52, Marc Sturlese wrote:

> 
> I'll give you an example about how to configure your default SearchHandler to
> do highlighting but I strongly recomend you to check properly the wiki.
> Everything is really well explained in there:
> http://wiki.apache.org/solr/HighlightingParameters
> 
>       <str name="hl">true</str>
>       <str name="hl.fl">attr_content</str>
>       <str name="f.attr_content.hl.fragsize">200</str>
>       <str name="f.attr_content.hl.snippets">1</str>
>       <str name="f.attr_content.hl.alternateField">f.attr_content</str>
>       <str name="f.attr_content.hl.maxAlternateFieldLength">300</str>
> 
> 
> 
> 
> Lee Smith-6 wrote:
>> 
>> Hey All
>> 
>> I am indexing around 10,000 documents with Solar Cell which has gone
>> superb.
>> 
>> I can of course search the content like the example given: 
>> http://localhost:8983/solr/select?q=attr_content:tutorial
>> 
>> But what I would like is for Solr to return the document with x many words
>> and the matched content highlighted. I suppose a allot like google does.
>> 
>> How can I achive such a result ?
>> 
>> I know I can use the highlighting but cant seem to get this to work.
>> 
>> Hope someone can put me on the right track.
>> 
>> Thank you
>> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Formatting-Results-tp27771256p27772151.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to