lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: highlight on same field with different fragsize
Date Mon, 01 Apr 2013 17:06:18 GMT
Why do you want to do this? Can't you just take the longer frag size
and cut it down for display in the app?

Best
Erick

On Mon, Apr 1, 2013 at 6:33 AM, meghana <meghana.ravani@amultek.com> wrote:
> We use Solr4.2 in our application. We need to return highlight on same field
> 2 times, with different fragsize. Solr allows to highlight on different
> fields with different fragsize as mentioned below  , but do not work with
> same fields
>
> http://localhost:8080/solr/select?q="my
> search"&hl=on&hl.fl=content1,content2&f.content1.hl.fragsize=400&f.content2.hl.fragsize=100
>
> Solr4.0 also apply alias for field, but it do not seems to work for
> highlighting.
>
> Can anybody suggest me on this, how to achieve it?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/highlight-on-same-field-with-different-fragsize-tp4052863.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message