rewriting a query doubt

2006-03-20 Thread Raghavendra Prabhu
Hi When you rewrite a query using query=query.rewrite(reader) Does the query change automtically. For example if the query was n*w and the reader has new,now,noow Does the query change to new,now,noow Can someone tell me how it works Rgds Prabhu

Re-creating IndexSearcher after update

2006-03-20 Thread Stephen Gray
Hi everyone, I have an application that allows both indexing and searching. I'm using a single IndexSearcher shared among all sessions. I want to re-create the IndexSearcher whenever the index changes, but I'm assuming that if I do this bad things will happen to people who may be currently r

RE: serializable RAMDirectory

2006-03-20 Thread Aditya Liviandi
Because I'm embedding the index inside another file... So that file is self-contained, containing both the payload (which might not be text) and the index... But I figured out how to do it already... I just made RAMDirectory and RAMFile Serializable and create my own build of lucene... -Origi

Lucene file size issue through SMB mount

2006-03-20 Thread Jayakumar.V
hi, I'm posting this issue here (just in case if anyone here has faced a similar issue) since i couldn't get any solution from the Linux forums. I have a partition which holds a lucene index file of size >2GB. This file is accessed thru' a SMB mounted share fr

Re: serializable RAMDirectory

2006-03-20 Thread Erik Hatcher
On Mar 20, 2006, at 1:05 AM, Aditya Liviandi wrote: Is there any implementation of lucene that allows the index to be portable? It seems pointless that I have to do the indexing operation to a directory with FSDirectory, and then copy the directory over to the portable file, and unpack the f

Term Vector Question

2006-03-20 Thread Daniel Cortes
Hi everybody, How can I do to obtain Terms of an specific Querry( for example all the terms of a specific group, field " ID_GROUP" ) The only thing that now I think to do is a search and obtain for every hits their term frequency and create a TreeSet with this. I supose that lucene give me anoth

Re: Simpler QueryParser

2006-03-20 Thread Nadav Har'El
"Chun Wei Ho" <[EMAIL PROTECTED]> wrote on 20/03/2006 11:09:38 AM: > I am wondering if anyone has existing code for a simpler QueryParser - > one that does not create the more complex prefix/fuzzy/range queries, > but still allow the usual term/boolean queries. > > I use QueryParser to directly par

Simpler QueryParser

2006-03-20 Thread Chun Wei Ho
I am wondering if anyone has existing code for a simpler QueryParser - one that does not create the more complex prefix/fuzzy/range queries, but still allow the usual term/boolean queries. I use QueryParser to directly parse user input (allowing for more flexible specification of include/exclude a

Re: Lucene job

2006-03-20 Thread Leos Literak
Erik Hatcher wrote: > So maybe we need a wiki page for the "Tao of Lucene"?! ;) that would be great :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]