Re: I need to improve highlighting

2011-05-18 Thread bryan rasmussen
yeah but you just got me to check again, what I thought was ignoring my setting of hl.fragsize and always using the default ended up just returning a smaller field higher ranked, so when I set it to 1000 and saw the same as what I saw with 100 was the just the off chance that there was only 100 to

Re: I need to improve highlighting

2011-05-18 Thread Erick Erickson
Just checking, but have you tried setting hl.fragsize= as suggested here: http://wiki.apache.org/solr/HighlightingParameters#hl.fragsize ? If that's not the problem, please show us the results of attaching &debugQuery=on to the request, that may shed some light on the problem. Best Erick On Wed

Re: I need to improve highlighting

2011-05-18 Thread bryan rasmussen
> Bryan, on Q2 - what about using xpath like 'str/em' ? How do I do that? The highlighting result, at least in the solr installation I have (3. something) returns the em as escaped markup. Is there an xpath parameter or configuration I can set for highlighting, or a way to change the elements to

Re: I need to improve highlighting

2011-05-18 Thread Stefan Matheis
Bryan, on Q2 - what about using xpath like 'str/em' ? Regards Stefan On Wed, May 18, 2011 at 2:25 PM, bryan rasmussen wrote: > Hi, > > If I do a search > http://localhost:8983/solr/tester/select/?q=kongeriget&hl=true then in > the subtree I get > > - > > Aftale mellem kongeriget Danmark og ko