Hi, You didn't say specifically what your problem is so I assume it is with the following method:
On Tue, Jun 18, 2013 at 4:37 AM, Peyman Faratin <peymanfara...@gmail.com> wrote: > public void setNextReader(IndexReader reader, int docBase) > throws IOException{ > this.docBase = docBase; > store = FieldCache.DEFAULT.getStrings(reader,"title"); > } setNextReader now takes an AtomicReaderContext as an argument and FieldCache.getStrings is now FieldCache.getTerms, so this would give something like private BinaryDocValues store; public void setNextReader(AtomicReaderContext ctx) throws IOException{ this.docBase = ctx.docBase; this.store = FieldCache.DEFAULT.getTerms(ctx.reader(), "title"); } public void collect(int doc) throws IOException { BytesRef page = new BytesRef(); store.get(doc, page); if (page.bytes != BinaryDocValues.MISSING) { outLinks.add(page.utf8ToString()); } } -- Adrien --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org