Re: Custom close to index metadata / pass commit data to writer.commit

2012-08-29 Thread Erick Erickson
You have to look at the "Resolution" entry. It's currently "unresolved", so it hasn't been committed. Best Erick On Wed, Aug 29, 2012 at 5:27 AM, Jozef Vilcek wrote: > Hi, > > I just wanted to check if someone have an idea about intentions with this > issue: > https://issues.apache.org/jira/bro

Re: Custom close to index metadata / pass commit data to writer.commit

2012-08-29 Thread Jozef Vilcek
Hi, I just wanted to check if someone have an idea about intentions with this issue: https://issues.apache.org/jira/browse/SOLR-2701 It is marked for 4.0-Alpha and there is already Beta out there. Can anyone tell if it planed to be part of 4.0 release. Best, Jozef On Sun, Jun 24, 2012 at 1:18 A

Re: Custom close to index metadata / pass commit data to writer.commit

2012-06-24 Thread Erick Erickson
Yeah, it's a bit kludgy I admit. But it's usable right now, pragmatism rules sometimes... But the never returning this doc is actually relatively easy, just put your data in a field that no other document has. There's no requirement that any document in Solr have any field in common with any other

Re: Custom close to index metadata / pass commit data to writer.commit

2012-06-24 Thread Jozef Vilcek
On Sun, Jun 24, 2012 at 1:18 AM, Erick Erickson wrote: > see: https://issues.apache.org/jira/browse/SOLR-2701. > Hey, that is what I want :) Thanks for the reference. I am unlucky that there seems to be no progress on this ( as far as I can tell ). I would be able to use commitData in rather non-

Re: Custom close to index metadata / pass commit data to writer.commit

2012-06-23 Thread Erick Erickson
see: https://issues.apache.org/jira/browse/SOLR-2701. But there's an easier alternative. Just have a _very special_ document with a known that you index at the end of the run that 1> has no fields in common with any other document (except uniqueKey) 2> contains whatever data you want to carry arou

Custom close to index metadata / pass commit data to writer.commit

2012-06-22 Thread Jozef Vilcek
Hi everyone, I am seeking to solution to store some custom data very close to / within index. I have found a possibility to pass commit "user" data to IndexWriter: http://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/index/IndexWriter.html#commit(java.util.Map) which are from what I under