Re: Dates and others

2003-11-23 Thread Ype Kingma
On Saturday 22 November 2003 18:33, Dion Almaer wrote: ... 1. The power of dates: I am fairly happy with the results of queries on my index. The only issue I have is that at the moment the date of the content isn't considered (since lucene doesn't know about it). Is there a good way in

lucene web demo problems

2003-11-23 Thread Justyna Lubkowski
I've run into trouble while trying to get the lucene demo working, included below is an error I'm getting. I think I've followed the instructions set out at http://jakarta.apache.org/lucene/docs/demo4.html The package org.apache.lucene.analysis has been placed in

RE: Dates and others

2003-11-23 Thread Dion Almaer
Thanks for responding Ype. -Original Message- From: Ype Kingma [mailto:[EMAIL PROTECTED] Sent: Sunday, November 23, 2003 2:03 PM To: Lucene Users List Subject: Re: Dates and others On Saturday 22 November 2003 18:33, Dion Almaer wrote: ... 1. The power of dates: I am

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-23 Thread Victor Hadianto
Hi, You missed another change in the file, if you follow that thread I later attached a patch that changes another file (standard tokenizer). Hangon let me try to find the patch for you. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=764036 You also need to change standard tokenizer.

Lucene version 1.3.

2003-11-23 Thread Tun Lin
Hi, Anyone knows when the full version of Lucene version 1.3 will be released? Please advise. Thanks.

Re: Objection to using /tmp for lock files.

2003-11-23 Thread Kevin A. Burton
Doug Cutting wrote: Kevin A. Burton wrote: When I first read this changelog entry: 2. Changed file locking to place lock files in System.getProperty(java.io.tmpdir), where all users are permitted to write files. This way folks can open and correctly lock indexes which are

Re: Dates and others

2003-11-23 Thread Erik Hatcher
On Saturday, November 22, 2003, at 06:33 PM, Dion Almaer wrote: 3. I have some fields suck as title, owner, etc as well as the content blob which I index and use as the default search field. Is there an easy way to extend the QueryParser to merge it with a MultiTermQuery which can also search

Re: Lucene refresh index function (incremental indexing).

2003-11-23 Thread Victor Hadianto
I delete the old ones and add them again manually. But how do I reindex the documents automatically without doing it manually? You don't need to reindex the documents again. Lucene does incremental indexing. Just add your document to the index and that's it. You need to create a new

Re: Dates and others

2003-11-23 Thread Erik Hatcher
On Sunday, November 23, 2003, at 03:33 PM, Dion Almaer wrote: This leads me to another issue actually. On certain range queries I get exceptions: Query: modifieddate:[1/1/03 TO 12/31/03] org.apache.lucene.search.BooleanQuery$TooManyClauses I'm guessing you're using Field.Keyword(String, Date)

Re: Dates and others

2003-11-23 Thread Erik Hatcher
On Sunday, November 23, 2003, at 03:33 PM, Dion Almaer wrote: 2. +field:foo and the QueryParser: I ran into some problems where using +field:foo was giving strange results. When I changed the queries to ... AND field:foo everything was fine. Am I missing something there? Which version of

RE: Lucene refresh index function (incremental indexing).

2003-11-23 Thread Tun Lin
Hi, Thanks for your reply. What if I add a new document into the directory that I have compiled using the following command: java org.apache.lucene.demo.IndexHTML -create -index {index-dir} .. Will it automatically reindex like I did manually to reflect the new document being added in that

Re: Lucene refresh index function (incremental indexing).

2003-11-23 Thread Victor Hadianto
Ah .. ic, But you don't need to do that even if you can do it. Lucene does incremental indexing. So you would create a new program to add your document manually using IndexWriter, not blatting the index and doing it again. Seems like you just trying out Lucene, I suggest having a look in the