problem with Whitespace analyzer

2008-02-09 Thread saikrishna venkata pendyala
Hi, I am facing a small problem, some one please help me, I am using Whitespace analyzer, while both indexing and searching the files. While indexing the analyzer is recognizing Ajit_(Agarkar)(I found it using LUKE) as a single token. But while searching{QueryParser parser = new QueryParser(fiel

Re: recall/precision with lucene

2008-02-09 Thread Paul Elschot
Op Saturday 09 February 2008 01:59:12 schreef Panos Konstantinidis: > Hello I am a new lucene user. I am trying to calculate the recall/precision of > a query and I was wondering if lucene provides an easy way to do it. > > Currently I have a number of documents that match a given query. Then I a

Re: Compiled Term Hightlighter

2008-02-09 Thread Cesar Ronchese
Cool! Thanks. About the highlighter+fuzzy, after you wrote that, I checked my code. It was wrong: Wrong one: objQuery.rewrite(objIndexReader) Then I fixed to: objQuery = objQuery.rewrite(objIndexReader) []s Cesar Daniel Naber-10 wrote: > > On Samstag, 9. Februar 2008, Cesar Ronchese wrote

Re: Compiled Term Hightlighter

2008-02-09 Thread Daniel Naber
On Samstag, 9. Februar 2008, Cesar Ronchese wrote: > I'm not a java developer, so I'm getting stuck on compiling the Term > Highlighter of source files acquired from the Lucene Sandbox. The highlighter is part of the release, in Lucene 2.3 it's under /build/contrib/highlighter/lucene-highlighter

Compiled Term Hightlighter

2008-02-09 Thread Cesar Ronchese
Hello guys. I'm not a java developer, so I'm getting stuck on compiling the Term Highlighter of source files acquired from the Lucene Sandbox. I got some errors, well, I guess I'm not using the correct command line (it was javac c:\dir\*.java, something like that). Can someone post me the compil

Re: how to get the programmatic control over index's document id

2008-02-09 Thread Erick Erickson
If you're referring to the internally-assigned document id, I don't think there is a way. Assuming you're trying to assign one yourself or some such. >From all the discussions I've seen, I don't think there's even a faint possibility that controlling this will be added to Lucene. Note that existin

Re: how to get the programmatic control over index's document id

2008-02-09 Thread Patrick Turcotte
Add a field to your document. document.add(new Field("id", idString)); Or something like that. (Don't have the doc handy right now). Hope this helps. Patrick On Feb 9, 2008 7:38 AM, Gauri Shankar <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to get the control over the docId field from my

how to get the programmatic control over index's document id

2008-02-09 Thread Gauri Shankar
Hi, I would like to get the control over the docId field from my code. Can anyone suggest some way for doing the same? -- Warm Regards, Gauri Shankar