matched terms are not highlighted

2012-11-23 Thread Dzmitry Petrushenka
Hi All! Has anyone ever had the following problem... If use FastVectorHighlighter and boundaryScanner with hl.bs.type set to SENTENCE there are situations when not all matched terms are highlighted in fragments. I.e. 1. FastVectorHighlighter generates FieldFragList with info on what term

newSearcher event

2012-11-09 Thread Dzmitry Petrushenka
Hi All! Solr provides support for newSearcher events. But those are dispatched before the real search becomes the current one. Is that possible to add some code that would be called whenever the new searcher starts to serve requests? Thanx,

Re: Dynamic core selection

2012-11-02 Thread Dzmitry Petrushenka
Hi all! Just sharing the solution) I've extended SolrDispatchFilter with my own implementation and did like this: ... String core = determineCore(req); super.doFilter(new CoreRoutingReqWrapper(req, core), response, chain); ... code for the CoreRoutingReqWrapper class: class CoreRoutingRe

Re: Dynamic core selection

2012-11-01 Thread Dzmitry Petrushenka
ated? cheers, Travis On Thu, Nov 1, 2012 at 12:08 PM, Dzmitry Petrushenka wrote: Hi All! I need to be able to send requests to 2 different cores based on the value of some request parameter. First core (active) contains most recent docs. This core is used in 99% of cases. The second cor

Dynamic core selection

2012-11-01 Thread Dzmitry Petrushenka
Hi All! I need to be able to send requests to 2 different cores based on the value of some request parameter. First core (active) contains most recent docs. This core is used in 99% of cases. The second core (it has 100-1000 times more docs then active core) and used in 0.1% of cases.