Re: compile lucene-1.2-rc2

2001-11-01 Thread cloud jun
Thanks, I have got it now. It's because I did not have the optional jar for Ant. Here is some guide on how to compile lucene-1.2-rc2 in case someone needs it: 1) Get Ant from the jakarta website, do not forget to download the optional jar as well. 2) Get JavaCC from http://www.webgain.com/produc

RE: Indexing problem

2001-11-01 Thread Tom Eskridge
I have seen this problem, too, since moving to 1.2 although I'm not sure that 1.2 is the cause... but it is suspicious. Tom Eskridge > -Original Message- > From: Daryl Thachuk [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 7:09 PM > To: Lucene Users List > Subject: Re: I

Re: compile lucene-1.2-rc2

2001-11-01 Thread Otis Gospodnetic
What exactly is the error that you are getting? Is it an Ant error or a Lucene error? Does Ant know to convert forward slashes to back slashes on Windows? Have you tried using \ instead of / in those paths? Otis --- cloud jun <[EMAIL PROTECTED]> wrote: > Hi there, > > I am having trouble to get

Re: test code

2001-11-01 Thread Otis Gospodnetic
> >Or Lucene's Javadoc, so you kill two birds with a single stone. > > That's not static, though. Ah, that would be a requirement, right. It would be a nice demo, though :) Otis __ Do You Yahoo!? Find a job, post your resume. http://careers.yaho

Re: test code

2001-11-01 Thread Brian Goetz
>Or Lucene's Javadoc, so you kill two birds with a single stone. That's not static, though. -- Brian Goetz Quiotix Corporation [EMAIL PROTECTED] Tel: 650-843-1300Fax: 650-324-8032 http://www.quiotix.com -- To unsubscribe, e-mail: For additi

Re: test code

2001-11-01 Thread Otis Gospodnetic
> >Or can anyone suggest a good, preferably > >plain-text, static test collection? > > The HTML output from the JavaDoc for JDK 1.3 isn't a bad candidate. Or Lucene's Javadoc, so you kill two birds with a single stone. Otis __ Do You Yahoo!? Fin

compile lucene-1.2-rc2

2001-11-01 Thread cloud jun
Hi there, I am having trouble to get lucene-1.2-rc2 compiled. I use windows 2000 and have installed Ant and JavaCC, but I guess there is some thing wrong in the configuration file for the javaCC part. My "build.properties" file in the lucene folder looks like this: ---

Re: Indexing problem

2001-11-01 Thread Daryl Thachuk
Since pre 1.2 versions of Lucene do not demonstrate this problem (I've confirmed this) I suspect something is not being closed properly in the index creation process. -d On Thursday, November 1, 2001, at 06:05 PM, Alex Paransky wrote: > I was getting the same error under Windows 2000. It ha

RE: Indexing problem

2001-11-01 Thread Alex Paransky
I was getting the same error under Windows 2000. It has something to do with FileHandles being openned. When we were doing a few searches at the same time, the file handles went as hight as 2000. At around 2100, we started to get this error. I have searched some documentation, and all the docs

Indexing problem

2001-11-01 Thread Daryl Thachuk
Hi Since upgrading to 1.2 we've started getting the following error when creating an index in a directory with a large amount of files. Previous versions of Lucene were quite happy to index this directory. Any thoughts as to the cause? -d java.io.FileNotFoundException: /private/Network/Ser

Phrase (and other) scoring?

2001-11-01 Thread Winton Davies
Hi, So my manager asked an intersting question -- is the score of a phrase search normalised or not ? Lets imagine I have queried "Deer Hunter" /SLOP = 2 and there is just one document with: "Deer and Duck Hunter" Now, this comes back with a relevance of 1.0 -- however it clearly is and is

Re: test code

2001-11-01 Thread Brian Goetz
>These are mostly things that I wrote years ago when first developing Lucene, >e.g., to test the index code before the search code was written, etc. They >were mostly never really standalone test programs, but rather things whose >output I would eyeball for correctness (e.g. DocTest), things tha

test code

2001-11-01 Thread Doug Cutting
> From: Brian Goetz [mailto:[EMAIL PROTECTED]] > > I'd like to see the existing test programs converted into > JUnit test cases > -- I'm willing to do this if someone will tell me how they > work and what > they're supposed to output and how to invoke them. These are mostly things that I wro

RE: Do range queries work?

2001-11-01 Thread Brian Goetz
>Can folks please try to include complete, self-contained test cases when >submitting bugs? It's not that hard, and makes it much easier to figure out >what is going on. In the WebMacro project, we've actually gone further than that -- no bug report is taken seriously without a JUnit test case

Re: Adding New Fields to Document

2001-11-01 Thread Ian Lea
Are you adding the document to the index once you've added the Field to the document? Do you see the authorname if search on some other field in the Document? I don't know if there are limits or not, but if there are I suspect they are high enough that you and I are unlikely to hit them. -- I

RE: Do range queries work?

2001-11-01 Thread Doug Cutting
> From: Paul Friedman [mailto:[EMAIL PROTECTED]] > > It looks like there is a bug (besides the StandardAnalyzer > parsing 20-35 as a single term). The query in your example: > > search(searcher, analyzer, "FirstName:[a-k]"); > > is not finding the correct document. It is finding doc2, i

Adding New Fields to Document

2001-11-01 Thread Vijay Jagannathan
Hello All, I am trying to add a new field to the Document as below: doc.add(new Field("authorname", authorname, false, true, false)); When I am doing the search after rebuilding the index, I am not getting any results if I search on this field. Is there a size limit or limit on the number of fi

RE: Do range queries work?

2001-11-01 Thread Paul Friedman
First, let me apologize for not including a self-contained test in my original submission. I will do so for any future issues. In regards to the test case that you included in your response... It looks like there is a bug (besides the StandardAnalyzer parsing 20-35 as a single term). The query

Re: Tutorial

2001-11-01 Thread DV Punia
Thanks to Steven J. Owens for his small tutorial. It was good, i was quite informative, we can always improve as we go along. It will be good to post few samples as a tutorial which might have: - Simple servlet Example for Search - Simple application example - How to create index files for servl

RE: Do range queries work?

2001-11-01 Thread Doug Cutting
Can folks please try to include complete, self-contained test cases when submitting bugs? It's not that hard, and makes it much easier to figure out what is going on. For example, I have attached a complete, self-contained test case for the bug reported below. It only took 50 lines. Interestin

RE: Problems with prohibited BooleanQueries

2001-11-01 Thread Doug Cutting
> From: Scott Ganyo [mailto:[EMAIL PROTECTED]] > > How difficult would it be to get BooleanQuery to do a > standalone NOT, do you > suppose? That would be very useful in my case. It would not be that difficult, but it would make queries slow. All terms not containing a term would need to be e

Do range queries work?

2001-11-01 Thread Paul Friedman
Is range searching working in RC2? I have the following documents in my index (using StandardAnalyzer): id:doc1 age:30 FirstName:John id:doc2 age:40 FirstName:Wendy The following queries do not return the expected results (using QueryParser with StandardAnalyzer): "age:[20-35]" finds 2 docume

RE: Brackets in query syntax?

2001-11-01 Thread Scott Ganyo
Sure, that would make sense to me... > -Original Message- > From: Paul Friedman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 9:13 AM > To: 'Lucene Users List' > Subject: RE: Brackets in query syntax? > > > Thanks, I didn't see anything about the range query in the synt

Updated Syntax BNF?

2001-11-01 Thread Paul Friedman
Where can I find a BNF for the syntax supported in version 1.2 RC2? The BNF in the FAQ doesn't show the syntax for range queries.

RE: Brackets in query syntax?

2001-11-01 Thread Paul Friedman
Thanks, I didn't see anything about the range query in the syntax BNF. In regards to the exception, I would expect that searching on the query "[]" or "name:[]" would either find all documents or no documents, not throw an exception? -Original Message- From: Scott Ganyo [mailto:[EMAIL P

Frequency Problem

2001-11-01 Thread srinivasa v
hi all, When we search for perticular word(s) using the Query, we will get number of Hits. That is number of docs matching the given words. But How to get the Frequency of a Perticular Word in each Docs individually ? Say word "lucene" occurs 10 times in Doc1. Please answer ASAP wi

RE: Problems with prohibited BooleanQueries

2001-11-01 Thread Scott Ganyo
How difficult would it be to get BooleanQuery to do a standalone NOT, do you suppose? That would be very useful in my case. Scott > -Original Message- > From: Doug Cutting [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 2:36 PM > To: 'Lucene Users List' > Subject: RE: Pro

RE: Brackets in query syntax?

2001-11-01 Thread Scott Ganyo
[ and ] are used for RangeQuery. They indicate an inclusive range. For example: "name:[adam-scott]" > -Original Message- > From: Paul Friedman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 2:03 PM > To: '[EMAIL PROTECTED]' > Subject: Brackets in query syntax? > > > Ar