lucene 4.0.0

2013-05-24 Thread mary meriem
hii am mary and i have a problem with lucene, Actually a work with lucene 4.0.0, my problem is, how can I more listed all the terms, the display position for each term in each document and their frequency?please help

RE: lucene 4.0.0

2013-05-24 Thread mary meriem
I'll try to see how inculre with my code, thank you very much.

RE: lucene 4.0.0

2013-05-24 Thread mary meriem
if (i + 1 < arr.length) sb.append(", "); > } > return sb.toString(); > } > > private void puts(Object msg) { > System.out.println(msg); > } > > private void index() throws IOException { > IndexWriter indexWriter = new IndexWrit

RE: lucene 4.0.0

2013-05-24 Thread mary meriem
. > > > On Fri, May 24, 2013 at 6:49 PM, mary meriem wrote: > > > > > > > I have a problem with AtomicReader reader = > > indexReader.leaves().get(0).reader(); it is topical in Lucene 4.0.0?? > > > > > Date: Fri, 24 May 2013 13:41:05 -0400 >

please help

2013-05-25 Thread mary meriem
there is my code for getting in position for all term index and I'm stuck on this problem anyone has an idea about this error??ar = (AtomicReader)readre;System.out.print(ar); boolean withOffsets = false; Fields fields = MultiFields.getFields(readre); Term t= new Term("contents");

RE: please help

2013-05-27 Thread mary meriem
e.lucene.index.SlowCompositeReaderWrapper; > > SlowCompositeReaderWrapper ar = SlowCompositeReaderWrapper.wrap(readre); > etc > > Brendan > > > On Sat, May 25, 2013 at 4:33 PM, mary meriem wrote: > > > there is my code for getting in position for all term index

help for Lucene 4.0.0

2013-05-30 Thread mary meriem
HiIs there a difference between a txt file and a pdf and html, as is the presence ASCIIFoldingFilter consider different carecteres as aphstrophe, J'n fai could eliminate in. txt but those pdf and html apparently this is not the same encoding!there is a filter that can help me for this??I'm worki