Indexing strategies for metadata fields

2017-05-24 Thread José Tomás Atria
Hello all, I'm trying to come up with a reasonable indexing strategy for my document's metadata, and I'm seeing some weird undocumented behaviours. My original approach was to build fields like these: FieldType ft = new FieldType(); ft.setDocValuesType( DocValuesType.SORTED ); ft.setIndexOptions

searchAfter is missing results when custom noncontinuous slices are used

2017-05-24 Thread Christoph Kaser
Hello everybody, I have observed an unexpected behavior in Lucene, and I am unsure whether this is a bug, or a missing warning in the documentation: I am using the IndexSearcher with an ExecutorService in order to take advantage of multiple CPU cores during the searches. I want to limit the