Query Analyzer

2005-02-07 Thread Ravi
How do I set the analyzer when I build the query in my code instead of using a query parser ? Thanks in advance Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Query Analyzer

2005-02-07 Thread Ravi
That worked. Thanks a lot. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 11:39 AM To: Lucene Users List Subject: Re: Query Analyzer On Feb 7, 2005, at 11:29 AM, Ravi wrote: How do I set the analyzer when I build the query in my code

IndexSearcher close

2005-02-01 Thread Ravi
Is there a way to check if an IndexSearcher is closed? Thanks in advance, Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to get document count?

2005-02-01 Thread Ravi
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexW riter.html#docCount() You can try this. -Original Message- From: Luke Shannon [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 11:33 AM To: Lucene Users List Subject: Re: How to get document count? Not

Stopwords in phrases

2004-12-21 Thread Ravi
the analyzer during the search so when I search on not to be I will get the document which has not-to-be as a token. How can I use the same analyzer to get different results in indexing and searching? Thanks in advance, Ravi

RE: Stopwords in phrases

2004-12-21 Thread Ravi
will have the same problem. Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

No of docs using IndexSearcher

2004-12-10 Thread Ravi
How do I get the number of docs in an index If I just have access to a searcher on that index? Thanks in advance Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: No of docs using IndexSearcher

2004-12-10 Thread Ravi
and to-date from the search. I was getting a runtime exception during search, If the index does not have any documents. That's why I was looking for some method on the searcher object that gives me the number of documents. Thanks Ravi -Original Message- From: [EMAIL PROTECTED] [mailto

MultiSearcher close

2004-12-10 Thread Ravi
If I close a MultiSearcher, does it close all the associated searchers too? I was getting a bad file descriptor error, if I close the MultiSearcher object and open it again for another search without reinstantiating the underlying searchers. Thanks in advance, Ravi

RE: Retrieving all docs in the index

2004-12-09 Thread Ravi
in the index On Dec 9, 2004, at 1:35 PM, Ravi wrote: Is there any other way to extract all documents from an index apart from adding an additional field with the same value to all documents and then doing a term query on that field with the common value? Of course. Have a look at the IndexReader

RE: Retrieving all docs in the index

2004-12-09 Thread Ravi
, Ravi wrote: That was exactly my original question. I was wondering if there are alternatives to this approach. In case you need only a few of the top ranking documents, and the documents are to be sorted by date anyway, you might consider to search each of the dates in sorted order separately

RE: Index delete failing

2004-12-08 Thread Ravi
I got this working. I had to close all index searchers and writer on the index, set them to null and call System.gc() before the delete process. I think windows still thinks writer and searchers are pointing to the index directory even if you close them. Ravi -Original Message- From

Index delete failing

2004-12-06 Thread Ravi
files are getting removed. But the rest of the .cfs are not. Has somebody had similar problem? Thanks in advance, Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Index delete failing

2004-12-06 Thread Ravi
+ Lucene experience is limited. Otis --- Ravi [EMAIL PROTECTED] wrote: Hi We need to delete a lucene index from our application using java.io.file.delete(). We are closing the indexWriter and even all the index searchers on that folder. But a call to delete returns false. There is no lock

mergeFactor maxMergeDocs

2004-11-18 Thread Ravi
don't want lucene to do a merge when it has 10,000 documents. But that did not work. Can somebody explain how to set these properties? Thanks in advance, Ravi. -Original Message- From: Luke Shannon [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 2:38 PM To: Lucene Users List

Index copy

2004-11-17 Thread Ravi
Whats the bestway to copy an index from one directory to another? I tried opening an IndexWriter at the new location and used addIndexes to read from the old index. But that was very slow. Thanks in advance, Ravi

mergeFactor

2004-11-17 Thread Ravi
Can somebody explain the difference between the parameters minMergeDocs and mergeFactor in IndexWriter. When I read the documentation, it looks like both of them represent number of documents to be in buffer before they are merged into a new segment. Thanks in advance, Ravi

RE: Index copy

2004-11-17 Thread Ravi
further index operations. On Wed, 17 Nov 2004 11:25:48 -0500, Ravi [EMAIL PROTECTED] wrote: Whats the bestway to copy an index from one directory to another? I tried opening an IndexWriter at the new location and used addIndexes to read from the old index. But that was very slow. Thanks

RAM, FS Directory: Problem during merge

2004-11-16 Thread Ravi Rao
in some way. Has anyone seen this before? I don't yet have access to the full logs so I don't have much more information. Many thanks, -- Ravi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Number of documents to be optimized

2004-11-12 Thread Ravi
How do I know the number of documents to be optimized (If I have one large index, number of documents that are in other segments) at any time? Thanks in advance, Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Search scalability

2004-11-11 Thread Ravi
are using Linux. Otis --- Ravi [EMAIL PROTECTED] wrote: We have one large index for a document repository of 800,000 documents. The size of the index is 800MB. When we do searches against the index, it takes 300-500ms for a single search. We wanted to test

Merging multiple indexes

2004-11-10 Thread Ravi
Whats's the simplest way to merge 2 or more indexes into one large index. Thanks in advance, Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Search scalability

2004-11-10 Thread Ravi
and the average response time was 13 seconds. We used a simple IndexSearcher. Same searcher object was shared by all the searches. I'm sure people have success in configuring lucene for better scalability. Can somebody share their approach? Thanks Ravi

Searching against index in memory

2004-10-28 Thread Ravi
at the same time from a different JVM? I can access the 4000 docs on the disk. But what about those in the memory on the indexing box? Is there a way to do this? Thanks Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED

Stopwords in Exact phrase

2004-10-27 Thread Ravi
Is there way to include stopwords in an exact phrase search? For example, when I search on Melbourne IT, Lucene only searches for Melbourne ignoring IT. Thanks, Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED

weights on multi index searches

2004-10-27 Thread Ravi
Can I give weights on different indexes when I search against multiple indexes. The final score of a document should be a linear combination of the weights on each index and the individual score for that index. Is this possible in Lucene? Thanks Ravi.

Changes to QueryParser.jj: Status?

2004-03-24 Thread Ravi Rao
...soon? Thanks, -- Ravi/ PS: The title of the thread in the previous discussion was 'Problem with search results' Ravi(ndra) Rao AlterPoint Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Can field names contain the space character?

2004-01-26 Thread Ravi Rao
'. The program successfully searches the index for a document containing this field. However, I'm not very happy with the solution because it will be cumbersome to set up general queries this way. Is there a better way? Many thanks, -- Ravi/ import org.apache.lucene.document.Field; import

how to search .pdf, .doc, .jsp files using LUCENE ?

2003-02-20 Thread Naraharasetty Ravi Kumar
Optimizing index... 2625 total milliseconds And in my configuration.jsp I have below entry: String indexLocation = /DarrenWebsite/Lucene/Index; That is all I did to implement search on .html, .txt file and now how do I implement search on .pdf, .doc, .jsp etc. ?? Thanks Regards, Ravi

Re: Is Like Search Possible ?

2002-10-06 Thread Ravi Kothiyal
this will help You Regards Ravi - Original Message - From: Suneetha Rao [EMAIL PROTECTED] Date: Sat, 05 Oct 2002 13:01:48 +0530 To: Lucene Users List [EMAIL PROTECTED] Subject: Re: Is Like Search Possible ? Dear Ravi, Thanks for ur help but my problem is not solved yet

Problem With org.apache.lucene.demo.IndexHTML class on Sun Solaris

2002-10-05 Thread Ravi Kothiyal
in this matter. Best Regards Ravi -- __ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Free price comparison tool gives you the best prices and cash back! http://www.bestbuyfinder.com/download.htm

Re: Is Like Search Possible ?

2002-10-05 Thread Ravi Kothiyal
the search for toAddress. Hope this will help you Regards Ravi - Original Message - From: Suneetha Rao [EMAIL PROTECTED] Date: Sat, 05 Oct 2002 10:16:02 +0530 To: Lucene Users List [EMAIL PROTECTED] Subject: Is Like Search Possible ? Hi, I've used lucene and indexed the whole

Re: Xtreeme Newbie, trying to get demos to work

2002-10-05 Thread Ravi Kothiyal
/lucene/docs/gettingstarted.html Hope this will help you Reagrds Ravi - Original Message - From: ARJANG ASSADI [EMAIL PROTECTED] Date: Tue, 24 Sep 2002 06:46:15 + To: [EMAIL PROTECTED] Subject: Xtreeme Newbie, trying to get demos to work I am trying to run the Demo. I couldnt

RE: New User , How to have the search functioning

2002-09-18 Thread Ravi Kothiyal
is producing result . But the url returned by the search in for local document in the form of d:\tomcat\tomcat-jakarta\webapps\textdocs\xyz.htm But i want url of my documents in the form of http://mywebsite:8080/textdocs/xyz.htm How can i achieve this . Please help me in this matter. Regards Ravi

RE: New User , How to have the search functioning

2002-09-17 Thread Ravi Kothiyal
and summary as null . Later I found that it stores the document path also and i can get that document path . Can you please tell me how to store the document summary and url along with the document in the index . It will be nice of you. Regards Ravi - Original Message - From: Stone, Timothy

New User , How to have the search functioning

2002-09-16 Thread Ravi Kothiyal
am searching the application . I am getting no result . What could be the reason of this. Is there any need to add entry in index. if yes how . Pls help me out . If any one has any saple application It would be very nice to help me with the code. Regards Ravi