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 <[email protected]> wrote: > hello, but there is no getCommitUserData in IndexReader, > how can I get the userdata ?? > thx > > > > ----- > -------------------------- > Email: [email protected] > -------------------------- > -- > 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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
