Re: FieldValueFilter and non-DocValues fields

2015-02-27 Thread Adrien Grand
If you do not need sorting or faceting, doc values are not needed indeed. You can get back the old behaviour by using UninvertingReader (see LUCENE-5666 for more background). But like before this will load a lot of stuff into memory... Note that FieldValueFilter is very slow (with or without doc

Lucene 5.0.0 - StringField and Sorting

2015-02-27 Thread Torsten Krah
Hi, looking at the JavaDoc of StringField it says: /** A field that is indexed but not tokenized: the entire * String value is indexed as a single token. For example * this might be used for a 'country' field or an 'id' * field, or any field that you intend to use for sorting * or access

FieldValueFilter and non-DocValues fields

2015-02-27 Thread Artem Redkin
Hello. After upgrade to 5.0.0 FieldValueFilter no longer works for fields that are not in DocValues. I have large indexes (around half a billion documents each) and I do not want to duplicate data too much. If I add some fields to DocValues each index will grow from 400GB to 1.3TB, with no appa