Re: skip document header while indexing

2005-04-29 Thread Erik Hatcher
On Apr 29, 2005, at 8:30 AM, Pablo Gomes Ludermir wrote: Could you give me some pointers (example or website) to how I could do that? Lucene's own source code has several analyzers that are worth investigating. We also include several in Lucene in Action that demonstrate additional features lik

Re: skip document header while indexing

2005-04-29 Thread Pablo Gomes Ludermir
Could you give me some pointers (example or website) to how I could do that? On 4/29/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > On Apr 29, 2005, at 7:50 AM, Pablo Gomes Ludermir wrote: > > > Hello all, > > > > Is it possible to skip the first "xx" words while indexing a document? > > For in

Re: skip document header while indexing

2005-04-29 Thread Erik Hatcher
On Apr 29, 2005, at 7:50 AM, Pablo Gomes Ludermir wrote: Hello all, Is it possible to skip the first "xx" words while indexing a document? For instance, on the code bellow, I would like to skip the "xx" first words of "file" on the "CONTENTS_FIELD". Is that possible? Document doc = new Document();

skip document header while indexing

2005-04-29 Thread Pablo Gomes Ludermir
Hello all, Is it possible to skip the first "xx" words while indexing a document? For instance, on the code bellow, I would like to skip the "xx" first words of "file" on the "CONTENTS_FIELD". Is that possible? Document doc = new Document(); FileInputStream is = new FileInputStream(file); Reader