Un-used index files are not getting released

2017-05-04 Thread Siraj Haider
Hi all, We recently switched to Lucene 6.5 from 2.9 and we have an issue that the files in index directory are not getting released after the IndexWriter finishes up writing a batch of documents. We are using IndexFolder.listFiles().length to check the number of files in index folder. We have ev

RE: Term no longer matches if PositionLengthAttr is set to two

2017-05-04 Thread Markus Jelsma
Ok, we decided not to implement PositionLengthAttribute for now due to, it either is a bad applied (how could one even misapply that attribute?) or Solr's QueryBuilder has a weird way of dealing with it or.. well. Thanks, Markus -Original message- > From:Markus Jelsma > Sent: Monday