Directory directory = ... final SegmentInfos sis = new SegmentInfos(); sis.read(directory); Map<String, String> commitUserData = sis.getUserData();
simon On Fri, Jan 25, 2013 at 2:32 AM, wgggfiy <wuqiu.m...@qq.com> wrote: > hello, but there is no getCommitUserData in IndexReader, > how can I get the userdata ?? > thx > > > > ----- > -------------------------- > Email: wuqiu.m...@qq.com > -------------------------- > -- > View this message in context: > http://lucene.472066.n3.nabble.com/how-to-add-attributes-to-a-field-just-like-term-s-payload-tp4031045p4036128.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org