You can still use highlighting without returning the content.  Just set
content as your alternate highlight field.   Then if no highlights are
returned you will receive the content.  Make sure you set a character limit
so you don't get the whole thing.  I use 300.

Does that make sense?  This is what I add to my query string.

"&hl=true&hl.fl=content&hl.snippets=3&hl.alternateField=content&hl.maxAlternateFieldLength=300"


On Thu, May 2, 2013 at 7:32 AM, adfel70 <adfe...@gmail.com> wrote:

> Well, returning the content field for highlighting is within my
> requirements.
> Did you solve this in some other way? or you just didn't have to?
>
>
> Bai Shen wrote
> > The only issue I ran into was returning the content field.  Once I
> > modified
> > my query to avoid that, I got good performance.
> >
> > Admittedly, I only have about 15-20k documents in my index ATM, but most
> > of
> > them are in the multiMB range with a current max of 250MB.
> >
> >
> > On Thu, May 2, 2013 at 7:05 AM, adfel70 &lt;
>
> > adfel70@
>
> > &gt; wrote:
> >
> >> Hi,
> >> In previous versions of solr, indexing documents with large fields
> caused
> >> performance degradation.
> >>
> >> Is this still the case in solr 4.2?
> >>
> >> If so, and I'll need to chunk the document and index many document
> parts,
> >> can anyony give a general idea of what field/document size solr CAN
> >> handle?
> >>
> >> thanks.
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://lucene.472066.n3.nabble.com/Is-indexing-large-documents-still-an-issue-tp4060425.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Is-indexing-large-documents-still-an-issue-tp4060425p4060431.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to