Hi list
I’m using the SynonymGraphFilter in Lucene 8.11 together with the
UnifiedHighlighter class. I’m not sure if they are supposed to work seamlessly
together but I’m having issues with the highlighter showing partial matches of
multi token synonym phrases. Ie. the word “in” in the following
0.7);
}
}
}
}
return returnValue;
}
}
public CustomScoreProvider getCustomScoreProvider(AtomicReaderContext
context) throws IOException {
return new MatchedField(context);
}
}
Den 11/04/2014 kl. 16.41 skrev Rune Stilling :
> Hi list
>
> Normally w
of query dependent document boost.
I can’t find out where to determine/control this behavior in Lucene i.e.. how
the document weight is calculated from each term weight.
With regards,
Rune Stilling
-
To unsubscribe, e-mail
rmsEnum.docFreq();
>
> //logger.warn("term:"+wandTerm.queryTerm +" :" + ub);
>
> DocsAndPositionsEnum docsPositionEnum =
> termsEnum.docsAndPositions(acceptDocs, null);
>
>
> tts.add(newWandPosting(fieldName,bytes,docsPositio
y case.
So it seems I might as well build my own term lists and code the indexing and
searching process manually?
With regards,
Rune
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Thu, Feb 13, 2014 at 2:40 AM, Rune Stilling wrote:
>> Hi list
>>
&
;
>> What are these term weights? Are you sure you can't compute these
>> weights at search time with a custom similarity using the stats that
>> are already stored (docFreq, totalTermFreq, maxDoc, etc.)?
>>
>> Mike McCandless
>>
>> http://blog.mikem
y case.
So it seems I might as well build my own term lists and code the indexing and
searching process manually?
With regards,
Rune
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Thu, Feb 13, 2014 at 2:40 AM, Rune Stilling wrote:
>> Hi list
>>
&
Hi list
I’m trying to figure out how customizable scoring and weighting is in the
Lucene API. I read about the API’s but still can’t figure out if the following
is possible.
I would like to do normal document text indexing, but I would like to control
the weight added to tokens my self, also I