Re: Limit number of characters returned

2010-12-03 Thread Ahmet Arslan
--- On Fri, 12/3/10, Mark static.void@gmail.com wrote: From: Mark static.void@gmail.com Subject: Limit number of characters returned To: solr-user@lucene.apache.org Date: Friday, December 3, 2010, 5:39 AM Is there way to limit the number of characters returned from a stored field

Re: Limit number of characters returned

2010-12-03 Thread Mark
@gmail.com wrote: From: Markstatic.void@gmail.com Subject: Limit number of characters returned To: solr-user@lucene.apache.org Date: Friday, December 3, 2010, 5:39 AM Is there way to limit the number of characters returned from a stored field? For example: Say I have a document (~2K words) and I

Re: Limit number of characters returned

2010-12-03 Thread Erick Erickson
on stored fields)? On 12/3/10 3:51 AM, Ahmet Arslan wrote: --- On Fri, 12/3/10, Markstatic.void@gmail.com wrote: From: Markstatic.void@gmail.com Subject: Limit number of characters returned To: solr-user@lucene.apache.org Date: Friday, December 3, 2010, 5:39 AM Is there way to limit

Re: Limit number of characters returned

2010-12-03 Thread Mark
: Markstatic.void@gmail.com Subject: Limit number of characters returned To: solr-user@lucene.apache.org Date: Friday, December 3, 2010, 5:39 AM Is there way to limit the number of characters returned from a stored field? For example: Say I have a document (~2K words) and I search for a word that's

Re: Limit number of characters returned

2010-12-03 Thread Ahmet Arslan
Couldn't I just use the highlighter and configure it to use the alternative field to return the first 200 characters?  In cases where there is a highlighter match I would prefer to show the excerpts anyway. http://wiki.apache.org/solr/HighlightingParameters#hl.alternateField

Limit number of characters returned

2010-12-02 Thread Mark
Is there way to limit the number of characters returned from a stored field? For example: Say I have a document (~2K words) and I search for a word that's somewhere in the middle. I would like the document to match the search query but the stored field should only return the first 200