Re: search similar docs?

2002-02-12 Thread Andrew Libby
On Tue, Feb 12, 2002 at 05:24:45PM -0300, Daniel Calvo wrote: > Hi, > > I was thinking of implementing a search for similar documents (like some commercial >search engines do) and wondering if anyone has > already done something like that with Lucene. I thought of collecting all terms of >the s

increasing the mergeFactor causes FileNotFoundException (too many open files)

2002-02-12 Thread Ivaylo Zlatev
Increasing the MergeFactor on an IndexWriter can speed the indexing process tremendously. However, you can quickly run out of file descriptors and the indexing application will thorw java.io.FileNotFoundException:.(Too many open files) I know prefectly how to increase the number of available

search similar docs?

2002-02-12 Thread Daniel Calvo
Hi, I was thinking of implementing a search for similar documents (like some commercial search engines do) and wondering if anyone has already done something like that with Lucene. I thought of collecting all terms of the selected document (or maybe some subset of them) and then creating a Mult

RE: indexing and searching HTML files

2002-02-12 Thread Daniel Calvo
Hi, There's a demo that comes in lucene-1.2- rc3 that presents a way of doing this. I believe it can give you a very good idea. --Daniel > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: terça-feira, 12 de fevereiro de 2002 12:27 > To: [EMAIL PROTECTED]

RE: Lucene beginner

2002-02-12 Thread Daniel Calvo
Hi Saima, To run the demo, you have to have lucene-demos-1.2-rc3.jar and lucene-1.2-rc3.jar in your context classpath. If you're using Tomcat, you can either have a directory under your application WEB-INF named lib with the jars or put them under Tomcat's common/lib (the former option is prefe

indexing and searching HTML files

2002-02-12 Thread jackyuk3
Hi all Can any body tell me the steps to index and search HTML documents. Jack -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://sh

Re: Searching multiple fields in one Index of Documents

2002-02-12 Thread Charles Harvey
So if I have three fields in my Document, labeled on insert into the document as: headline category pub_date and I need all headlines that contain 'Bush' from all stories with a category of 'National' that were published on 2002/01/05: Would I: 1. Have to have inserted upon concatenation all

Re: Search all words of a query

2002-02-12 Thread carlson
Hi, Right now you must either use the form foo AND bar or +foo +bar to accomplish what you want to do before you send the query to the QueryParser. Another alternative is to parse the query yourself and then create the queries using the BooleanQuery with the required flag set. This is somewha

Re: Search all words of a query

2002-02-12 Thread Charles Harvey
Isn't it standard that if the user wants all words to match they will use the AND keyword? (Lucene supports this) If you want all words to match all of the time, why not just split the query with a StringTokenizer and put it back together with the + ? That should only be five or ten lines of c

Re: Searching multiple fields in one Index of Documents

2002-02-12 Thread carlson
Hi Charles, Currently Lucene does not give you a query which will search all fields. The easiest way to do this is to great a queryString will all the fields based on the enteredSearchString. So if someone enters "foobar" then convert this into category:foobar OR body:foobar where the format is

Re: Searching multiple fields in one Index of Documents

2002-02-12 Thread Charles Harvey
Good idea, I had not though to delimit any of the params. I can operate in that fashion, but it present a few problems: All fields would have to be concatenated. Date (Search by date < or >) would have to be pulled out to java All IS queries would have to be pulled by java. This means that I wou

Search all words of a query

2002-02-12 Thread Mike Baroukh
Hi all. On a form, users may enter words. I must search with thoses words. What I actually do is creating a Query with QueryParser using my analyzer. But this make a search that match if one word match. I know that if I wan't all words to match, I must add a '+' before each word. I'd like to no

Re: write.lock file

2002-02-12 Thread Jerome Baton
Hi, As I understand it, it is made to allow multiple access to an index but only one writer at a time. It is created by IndexWriter on constructor and destroyed when the indexWriter is closed. regards, Jerome - Original Message - From: "suneethad" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

New comer

2002-02-12 Thread jackyuk3
Hi All I am new to the web development area. I will simply explain the functionality I want to use. I am developing a site in WebObjects. In my site the users can enter their information such as name , place , and address etc . Also I have provided an option for searching their details. Ple

write.lock file

2002-02-12 Thread suneethad
Hi, Whenever I index some files I'm getting some lock files created (write.lock).Can somebody tell me what do these mean and how can I remove them . Regards, Suneetha -- To unsubscribe, e-mail: For additional commands, e-mail:

IOException

2002-02-12 Thread Pradeep Kumar K
Hello Lucene friends I am encountering a serious problem while I am reading the indexes I stored in the database using IndexSearcher tempSearcher = new IndexSearcher(new IndexStore()); where "IndexStore.java" is the java file I used to track my indexing and searching.

RE: Lucene beginner

2002-02-12 Thread Saima Shaikh
Daniel, Thank you very much for replying. I've managed to get to the stage of running the demo and can bring up the search page. But I get an internal server error saying that it was unable to compile the class for JSP because 7 packages were not found: -org.apache.lucene.analysis.*; -org.apache