|
|
|
@ -66,7 +66,7 @@ public final class WordReferenceRow extends AbstractReference implements WordRef
|
|
|
|
|
new Column("t", Column.celltype_cardinal, Column.encoder_b256, 2, "posintext"),
|
|
|
|
|
new Column("r", Column.celltype_cardinal, Column.encoder_b256, 1, "posinphrase"),
|
|
|
|
|
new Column("o", Column.celltype_cardinal, Column.encoder_b256, 1, "posofphrase"),
|
|
|
|
|
new Column("i", Column.celltype_cardinal, Column.encoder_b256, 1, "worddistance"),
|
|
|
|
|
new Column("i", Column.celltype_cardinal, Column.encoder_b256, 1, "worddistance"), // arbitrary column for avg distance of search query words
|
|
|
|
|
new Column("k", Column.celltype_cardinal, Column.encoder_b256, 1, "reserve")
|
|
|
|
|
},
|
|
|
|
|
Base64Order.enhancedCoder
|
|
|
|
@ -253,7 +253,10 @@ public final class WordReferenceRow extends AbstractReference implements WordRef
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* First position of word in text
|
|
|
|
|
* First position of word in text.
|
|
|
|
|
* positions() is used to remember word positions for each query word of an
|
|
|
|
|
* multi word search query. As we currently don't include a separate posintext()
|
|
|
|
|
* function, we use positions to make the posintext value available.
|
|
|
|
|
* @return Collection with one element
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|