Hi, Would it be easier if you turn off the highlighting while viewing full document (but summary highlighting is still available) and use javascript to do the matching? (As long as we are need highlighting only when looking at specific document in runtime)
Thank you, Vinci Brian Whitman wrote: > > > On Mar 25, 2008, at 6:31 PM, Chris Harris wrote: > >> working pretty well, but my testers have >> discovered something they find borderline unacceptable. If they search >> for >> >> "stock market" >> >> (with quotes), then Solr correctly returns only documents where >> "stock" and "market" appear as adjacent words. Two problems though: >> First, Solr is willing to pick snippets where only one of the terms >> appears, e.g. >> >> ...and changes in the market regulation environment... > > > I recently asked about the same thing. There's a patch in lucene (not > in trunk yet) to support this. > > It would take some amount of work to get it in solr, but I haven't > investigated yet. > > -b > > > > -- View this message in context: http://www.nabble.com/Highlighting-Quoted-Phrases-tp16290330p16297027.html Sent from the Solr - User mailing list archive at Nabble.com.