Re: Highlighting is very slow

2009-11-10 Thread Nicolas Dessaigne
I'm afraid there is no perfect solution for this problem, as you may always have very long documents that will result in long response times, even with a faster implementation (see https://issues.apache.org/jira/browse/SOLR-1268 ). The only way to avoid confusion for users and to ensure correct re

Re: Highlighting is very slow

2009-11-09 Thread Andrew Clegg
Nicolas Dessaigne wrote: > > Alternatively, you could use a copyfield with a maxChars limit as your > highlighting field. Works well in my case. > Thanks for the tip. We did think about doing something similar (only enabling highlighting for certain shorter fields) but we decided that perhaps

Re: Highlighting is very slow

2009-11-09 Thread Nicolas Dessaigne
Hi Andrew, Alternatively, you could use a copyfield with a maxChars limit as your highlighting field. Works well in my case. See https://issues.apache.org/jira/browse/SOLR-538 Nicolas 2009/11/5 Andrew Clegg > > > Indeed -- it actually went slightly slower but only by a few seconds, I > suspec

Re: Highlighting is very slow

2009-11-04 Thread Mark Miller
It should be the same speed wither way for a term query. The highlighted is going to be slow on general for a 1mb + doc. It processes a token at a time. The fast vector highlighter is much faster in those cases and should be in the next release. It handles fewer query types though. - Mark

Re: Highlighting is very slow

2009-11-04 Thread Chris Hostetter
: Has anyone else seen this sort of behaviour before? This is with a nightly : from 2009-10-26. have you tried hl.usePhraseHighlighter=false ? ... http://old.nabble.com/Highlighting-performance-between-1.3-and-1.4rc-to26190790.html ...it doesn't seem like it should be affecting you for a simple

Re: Highlighting is very slow

2009-11-04 Thread Andrew Clegg
We're on 1.6 already. Any chance you could share your GC settings? Thanks, Andrew. PS apologies for the duplicate message yesterday, Nabble threw an exception when I posted the first one. And the second one actually. Jaco-4 wrote: > > Hi, > > We had a similar case once (although not with t

Re: Highlighting is very slow

2009-11-03 Thread Jaco
Hi, We had a similar case once (although not with those really long response times). Fixed by moving to JRE 1.6 and tuning garbage collection. Bye, Jaco. 2009/11/3 Andrew Clegg > > Hi everyone, > > I'm experimenting with highlighting for the first time, and it seems > shockingly slow for some