Re: get all tokens from index

2009-09-09 Thread m.harig
Thanks Ahmet , i found the solution. thanks a lot Ahmet Arslan wrote: > > >> hello all, is there any way to get all >> tokens from my index ? please anyone >> suggest me > > The code below prints all terms of a field. > >String path = "E:\\ThesaurusSolrHome\\data\\index"; >St

Re: get all tokens from index

2009-09-09 Thread AHMET ARSLAN
> hello all, is there any way to get all > tokens from my index ? please anyone > suggest me The code below prints all terms of a field. String path = "E:\\ThesaurusSolrHome\\data\\index"; String field = "contents"; IndexReader indexReader = IndexReader.open(path);