- correct WordReferenceVars.toRowEntry posintext parameter
to set expected min posintext (the difference is on multi-word queries,
while positions are ordered by search word order).
- modified posofphrase/posinphrase join operation
- to set min posofphrase
- and keep posinphrase if not same posofphrase (was set to 0, no differentiation during ranking)
+ fix compiler msg (missing type declaration)
@ -253,7 +253,7 @@ public class WordReferenceVars extends AbstractReference implements WordReferenc
this.hitcount,// how often appears this word in the text
this.hitcount,// how often appears this word in the text
this.wordsintext,// total number of words
this.wordsintext,// total number of words
this.phrasesintext,// total number of phrases
this.phrasesintext,// total number of phrases
this.positions.isEmpty()?0:this.positions.iterator().next(),// position of word in all words (
this.positions.isEmpty()?0:minposition(),// position of word in all words (WordReferenceRow stores first position in text, minpos also important for joined references)
this.posinphrase,// position of word in its phrase
this.posinphrase,// position of word in its phrase
this.posofphrase,// number of the phrase where word appears
this.posofphrase,// number of the phrase where word appears
this.lastModified,// last-modified time of the document where word appears
this.lastModified,// last-modified time of the document where word appears
@ -383,8 +383,17 @@ public class WordReferenceVars extends AbstractReference implements WordReferenc