How do I send search query to Multiple search Indexes ?

2006-02-02 Thread Vikas Khengare
> Hi Friends > > How do I send one search query to multiple search Indexes which > are on remote machines ? > > Which Technology will help me (AJAX / simple Servlet) ? > > Thanks... in advance > > I hope I will get result from experts like you > > Best Regards >

Re: IndexWriter.java

2006-02-02 Thread Azlan Abdul Latiff
Thanks Chris. Thats exactly the file I was looking for. I have the .class files in my download but all the .java files are missing. - Original Message - From: "Chris Hostetter" <[EMAIL PROTECTED]> To: Sent: Thursday, February 02, 2006 12:37 PM Subject: Re: IndexWriter.java > > : Doe

Re: index merging

2006-02-02 Thread Yonik Seeley
On 2/2/06, Omar Didi <[EMAIL PROTECTED]> wrote: > Thanks Yonik, > I can't set the merge factor too high because I will end up with the too many > files open problem. Right. I meant only for adding a lot of documents. After a lot of adds, then you could set the mergefactor back down to a reasona

RE: index merging

2006-02-02 Thread Omar Didi
Thanks Yonik, I can't set the merge factor too high because I will end up with the too many files open problem. I have got this method from indexReader.java public static boolean isLocked(Directory directory) throws IOException { return directory.makeLock(IndexWriter.WRITE_LOCK

Re: index merging

2006-02-02 Thread Yonik Seeley
No, there isn't anything in the API to tell you that. A merge may be triggered on any IndexWriter.add() call. If you want to avoid merges, you can set the merge factor really high so that merges will never happen, and set maxBufferedDocs to the size of the segments you want. -Yonik On 2/2/06, Om

index merging

2006-02-02 Thread Omar Didi
Hi all, I am trying to index in 2 different indexes with different mergefactors. so if one of the indexes is merging than I want to index only on the other index. is there a way to know if an index is merging?. thanks - To uns

Re: Sending query to multiple servers and combine all Hits from them ?

2006-02-02 Thread Chris Hostetter
Please do not cross posting to every java/lucene list you can find. The @jakarta lists are no longer used and forward their mail to the equivilent @lucene lists. The commits list exists only for people to recieve notification about changes in the SVN repository, and people should never send mail

Re: How do I send search query to Multiple search Indexes ?

2006-02-02 Thread Grant Ingersoll
Please only post these types of questions to the java-user mailing list. Vikas Khengare wrote: Hi Friends How do I send one search query to multiple search Indexes which are on remote machines ? Which Technology will help me (AJAX / simple Servlet) ? Thanks... in advance

Re: Memory problem

2006-02-02 Thread Leon Chaddock
With reference to the below. We are plannig to have two indexes, one that indexes and optimizes, and a mirror index one that we query against. Once a day update the mirror index. Does this seem like a viable approach too people. We have a lot of data that is constantly updating so querying the

Re: How do I send search query to Multiple search Indexes ?

2006-02-02 Thread Jeff Rodenburg
Vikas - Start with the RemoteSearchable class. Technology will be RMI. Hope this helps. On 2/2/06, Vikas Khengare <[EMAIL PROTECTED]> wrote: > > Hi Friends > > How do I send one search query to multiple search Indexes which are > on remote machines ? > > Which Technology will help me (A

How do I send search query to Multiple search Indexes ?

2006-02-02 Thread Vikas Khengare
Hi Friends How do I send one search query to multiple search Indexes which are on remote machines ? Which Technology will help me (AJAX / simple Servlet) ? Thanks... in advance I hope I will get result from experts like you Best Regards [ [EMAIL PROTECTED] ]