Re: new Lucene release: 1.2 RC2

2001-10-22 Thread Steven J. Owens
Sunil, > Two weeks back I did have the problem which I stated. > But I am unable to reproduce the results currently. I tested and retested > but couldnt repeat the same. > Doug have U guys fixed the issue long back itself ? > (The only thing I have done fresh is to download the latest > lucene-1.

Re: Re(2): newbi question

2001-10-22 Thread Steven J. Owens
[ Charset ISO-8859-1 unsupported, converting... ] > [EMAIL PROTECTED] writes: > >> public class Search { > >> public static void main(String[] args) { > >>try{ > >> String indexPath = "d:\\org", queryString = "parag"; > >> Searcher searcher = new IndexSearcher(indexPath); > > > >

RE: new Lucene release: 1.2 RC2

2001-10-22 Thread Sunil Zanjad
Hi, Two weeks back I did have the problem which I stated. But I am unable to reproduce the results currently. I tested and retested but couldnt repeat the same. Doug have U guys fixed the issue long back itself ? (The only thing I have done fresh is to download the latest lucene-1.2-rc1.zip file

RE: new Lucene release: 1.2 RC2

2001-10-22 Thread Doug Cutting
If you think there is a bug, can you please provide a simple, self-contained, reproducible test case that illustrates the problem. You could use Runtime.getRuntime().halt() to abruptly exit the JVM. Thanks, Doug > -Original Message- > From: Sunil Zanjad [mailto:[EMAIL PROTECTED]] > Se

RE: newbi question

2001-10-22 Thread Sunil Zanjad
Hi, Except for the import part U have stated everything properly in your source code. I tried it out and it works fine. Hence just check whether the org directory is actually present in the 'D' drive itself, and not on some other drive. I believe that this would surely solve your problem. Contact

RE: new Lucene release: 1.2 RC2

2001-10-22 Thread Sunil Zanjad
> From: Sunil Zanjad [mailto:[EMAIL PROTECTED]] > > >Indexes left in an inconsistent state on crash (i don't > > remember who > > I believe that even I have reported it. This happens on > abrupt exit of the JVM > To do this I had one thread updating a directory containing > many .txt files

RE: Context specific summary with the search term

2001-10-22 Thread Doug Cutting
> From: Lee Mallabone [mailto:[EMAIL PROTECTED]] > > I'm trying to implement this and should be able to contribute any > succesful results, but I need to produce context on a per-field basis. > Eg. if I got a token hit in the text body of a document, but the first > hit token was a word in the se

RE: Context specific summary with the search term

2001-10-22 Thread Lee Mallabone
On Fri, 2001-10-19 at 17:01, Doug Cutting wrote: > > Rather than highlight terms, I would just extract the first hit token, > > and a certain number of characters either side of it. > > I think this is the best approach. Since you'll probably only be displaying > around ten hits at a time, the co

Re(2): newbi question

2001-10-22 Thread Andrew Cottrell
[EMAIL PROTECTED] writes: >> public class Search { >> public static void main(String[] args) { >> try{ >> String indexPath = "d:\\org", queryString = "parag"; >> Searcher searcher = new IndexSearcher(indexPath); > > Hm, are you sure it should be two slashes? Alternately, try us

RE: new Lucene release: 1.2 RC2

2001-10-22 Thread Doug Cutting
> From: Sunil Zanjad [mailto:[EMAIL PROTECTED]] > > >Indexes left in an inconsistent state on crash (i don't > > remember who > > I believe that even I have reported it. This happens on > abrupt exit of the JVM > To do this I had one thread updating a directory containing > many .txt fi

Re: newbi question

2001-10-22 Thread Steven J. Owens
[ Charset ISO-8859-1 unsupported, converting... ] > I am new to lucene and I can not understand why I am getting following error > with this program? > > public class Search { > public static void main(String[] args) { > try{ > String indexPath = "d:\\org", queryString = "parag"; >

newbi question

2001-10-22 Thread Parag Dharmadhikari
Hi all, I am new to lucene and I can not understand why I am getting following error with this program? public class Search { public static void main(String[] args) { try{ String indexPath = "d:\\org", queryString = "parag"; Searcher searcher = new IndexSearcher(indexPath);

RE: many analyzers, same index.

2001-10-22 Thread jay
>The better approach is > to implement converters > that convert these formats to plain text, either a > String or a Reader. Then > you can use the same analyzer for documents in > different formats. > Has anyone tried implimenting 3rd party open source utilities to do this? xpdf (www.foolabs