Re: Quiz question: Which Character.isSpaceChar but not isWhitespace?

2015-11-01 Thread András Péteri
Hi David, While I agree on the quirkiness, at least it's documented (and the method is probably kept as-is for backwards compatibility reasons); the first bullet point of the corresponding Java SE 7 page says: "It is a Unicode space character [...] but is not also a non-breaking space" [1]. You c

Re: sizes of non-fdt flies affected by compression settings

2015-11-01 Thread Adrien Grand
Hi Anton, This setting can only affect the size of the fdt (and fdx) files. I suspect you saw differences in the size of other files because it caused Lucene to run different merges (because segments had different sizes), and the compression that we use for postings/terms worked better, but it cou

Re: Lucene 4.x -> 5.x: Converting FieldValueFilter to FieldValueQuery

2015-11-01 Thread Adrien Grand
Hi Andreas, FieldValueQuery is indeed the replacement. I you don't plan on adding other clauses to the boolean query, you can even run the FieldValueQuery directly through IndexSearcher, without wrapping it in a BooleanQuery. The fact that you need to index doc values is related to another change