Re: Using Sentence Information for Lucene Highlighting

2014-04-12 Thread Furkan KAMACI
Hi; I could find a way to achieve it when I debugged the source code. I've shared the same information at Solr mail list too. Defining a delimiter and indexing it as an individual token is the first step. Writing a regex that "matches" for given delimiter is the next step. Last step is defining th

Re: Multiply instead of summing two scores

2014-04-12 Thread Rune Stilling
Hi list For the record I have found a way to implement my requirement. I have implemented my own CustomScoreQuery using that to check when there’s a match bewteen my query and the specific field (f3). When there’s a match I multiply with my boost score. The implementation looks like this: pub

Re: Multiply instead of summing two scores

2014-04-12 Thread Jose Carlos Canova
Hum, You don't have a document weight you have a Document Score in relation of other documents on the index during a search event. On practice the document weight will be the sum of the weight of the terms in relation with an Index. You might find this presentation useful. http://www.cs.cmu.edu/

Re: NRT facet issue (bug?), hard to reproduce, please advise

2014-04-12 Thread Jose Carlos Canova
One thing that maybe affect and usually i forget is that if your object has a unique identifier (client_no) such identifier must be present on the override of "equals" methods and be part of the generation of the hashCode, otherwise if you store this object in a collection and different routines ac