Re: Similarity formula documentation is misleading + how to make field-agnostic queries?

2015-01-13 Thread danield
Corrections: document2={field1:”term1”, field2:”term1”} Coord(query1,document2)= 1/1 = 1 (Doesn't affect the problem/observation) -- View this message in context: http://lucene.472066.n3.nabble.com/Similarity-formula-documentation-is-misleading-how-to-make-field-agnostic-queries-tp4179307p4

Similarity formula documentation is misleading + how to make field-agnostic queries?

2015-01-13 Thread danield
Hi all, I have found, much to my dismay, that the documentation on Lucene’s default similarity formula is very dangerously misleading. See it here: http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html#formula_tf Term Frequency (TF) counts are expecte

Re: Details on setting block parameters for Lucene41PostingsFormat

2015-01-13 Thread Chris Hostetter
: : The first int to Lucene41PostingsFormat is the min block size (default : 25) and the second is the max (default 48) for the block tree terms : dict. we were discussing over on the solr-user mailing list how Tom would/could go about configuring Solr to use a custom subclass of Lucene41Postin

Re: howto: handle temporal visibility of a document?

2015-01-13 Thread Michael Sokolov
On 1/13/2015 2:07 AM, Clemens Wyss DEV wrote: reduced to: ( ( *:* -visiblefrom:[* TO *] AND -visibleto:[* TO *] ) OR (-visiblefrom:[* TO *] AND visibleto:[ TO ]) OR (-visibleto:[ * TO *] AND visiblefrom:[0 TO ]) OR ( visiblefrom:[0 TO ] AND visibleto:[ TO ]) ) also if y