Re: return unaltered complete multivalued fields with Highlighted results

2011-06-02 Thread Jonathan Rochkind
I could use this feature too, encourage you to submit a patch in JIRA. I wouldn't call the param "preserveOrder" though -- what it's really doing is returning the whole entire field, with highlighting markers, not just "preserving order" of fragments. Not sure what to call it, but not "preser

Re: return unaltered complete multivalued fields with Highlighted results

2011-06-02 Thread Erick Erickson
Hmmm, I don't know a thing about the highlighter code, but if you can just make a patch and create a JIRA (https://issues.apache.org/jira/browse/SOLR) and attach it, it'll get "in the system". I suspect you've seen this page, but just in case: http://wiki.apache.org/solr/HowToContribute See, espec

Re: return unaltered complete multivalued fields with Highlighted results

2011-06-02 Thread alexei
Hi, Here is the code for Solr 3.1 that will preserve all the text and will disable sorting. This goes in solrconfig.xml request handler config or which ever way you pass params: true This line goes into HighlightParams class: public static final String PRESERVE_ORDER = HIGHLIGHT + ".prese

Re: return unaltered complete multivalued fields with Highlighted results

2011-05-30 Thread lboutros
Hi Alexei, We have the same issue/behavior. The highlighting component fragments the fields to highlight and choose the bests to be returned and highlighted. You can return all fragments with the maximum size for each one, but it will never return fragments with scores equal to 0, I mean without a

Re: return unaltered complete multivalued fields with Highlighted results

2011-05-30 Thread alexei
Thank you for the reply Erick. I can return the stored content but I would like to show the highlighted results. With multivalued fields there seems to be some sorting of highlighed results (in order of importance?) going on. The problem is: 1 - I could not find a way to keep the original order

Re: return unaltered complete multivalued fields with Highlighted results

2011-05-21 Thread Erick Erickson
Not quite sure I understand, but would just returning the stored field in the work? Best Erick On May 20, 2011 4:55 PM, "alexei" wrote: > Hello, > > I have been trying to return highlighted text in original order and without > removing anything from it. > Seems that highlighter sorts my text by