Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
Hi all, I'm implementing Solr for a course and book search service for college students, and I'm running into some issues with the highlighting plugin. After a few minutes of tinkering, searching on Google, searching the group archives and not finding anything, I thought I would see if anyone else

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
s. > > Searching histo will return : African American History > > --- On Tue, 1/11/11, Dan Loewenherz wrote: > > > From: Dan Loewenherz > > Subject: Re: Solr highlighting is botching output > > To: solr-user@lucene.apache.org > > Date: Tuesday, Januar

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
On Mon, Jan 10, 2011 at 9:19 PM, Ahmet Arslan wrote: > > Not sure about your solr version but probably it can be > https://issues.apache.org/jira/browse/LUCENE-2266 > > Is there a special reason for using EdgeNGramTokenizerFactory? > Replacing this tokenizer with WhiteSpaceTokenizer should solve

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
On Mon, Jan 10, 2011 at 6:51 PM, Ahmet Arslan wrote: > > Thats really strange. Can you provide us field type > > definition of text field. And full search URL that caused > > that output. And the solr version. > > > > Also, did you enable term vectors on text field? > > Not sure what those are, s

Re: Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
On Mon, Jan 10, 2011 at 6:48 PM, Ahmet Arslan wrote: > Thats really strange. Can you provide us field type definition of text > field. And full search URL that caused that output. And the solr version. > Sure. Full search URL: /solr/select?indent=on &version=2.2&q=history&fq=&start=0&rows=10&fl

Solr highlighting is botching output

2011-01-10 Thread Dan Loewenherz
Hi all, I'm implementing Solr for a course and book search service for college students, and I'm running into some issues with the highlighting plugin. After a few minutes of tinkering, searching on Google, searching the group archives and not finding anything, I thought I would see if anyone else