How to limit terms in the index

2004-01-19 Thread Gayo Diallo
Hi, I'm using Lucene to index documents and I want just to limit the terms indexed by a list of terms provided by an Ontology. May someone help me to know how can I do that ? Thanks, GD - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: difference in javadoc and faq similarity expression

2004-01-19 Thread Nicolas Maisonneuve
but in the javadoc expression, there no the TFIDF weight for query , juste for the document and the Cosine use the both.. hmm strange i have a report to write about lucene and i don't know what formula write in the paper and how explain it - Original Message - From: Karl Koch

Re: difference in javadoc and faq similarity expression

2004-01-19 Thread Erik Hatcher
On Jan 19, 2004, at 5:03 AM, Nicolas Maisonneuve wrote: i have a report to write about lucene and i don't know what formula write in the paper and how explain it Ultimately the answer lies within the code itself - as we all know documentation and FAQ's can easily become out of sync from the

Re: How to limit terms in the index

2004-01-19 Thread Karl Koch
Hello, I think you have to write your own Analyser who filters out all other words before providing the text to an indexer. karl Hi, I'm using Lucene to index documents and I want just to limit the terms indexed by a list of terms provided by an Ontology. May someone help me to know how

Error occurrence Lock obtain timed out

2004-01-19 Thread Pawan preet
I am using Lucene final.if i want to delete the documents from the index with IndexReader.delete(i) where i is doc. number in index.There will some problem occer during obtaining of lock as file could not create in obtain() method of FSDirectory.java and following error occur: Lock obtain

Difference in Boosting of field and documents

2004-01-19 Thread Pawan preet
Respected Sir, I am doing work on lucene final .I have indexed 10 documents related with word java like www.java.sun.com www.javasoft.com www.sun.com and so on Now i want to do ranking of these documents on entering query : Java . So can i do it with boosting document or by field. What

Exception thrown from IndexFiles..help!

2004-01-19 Thread othman el moulat
Hi guys! i just downloaded the lucene software and start the tutorial simple = demo... i tried to execute the IndexFiles.java on a NetBeans envirement on = Windowx xp platform... i replaced args[0] with the path: C:\\lucene-1.2\\src but i have the = following exception: caught a

Unexpected end in indexing HTML file

2004-01-19 Thread Syrén Per
Hi all, Have a question concerning indexing of HTML files. One of the files I'm trying to index have a input type=image ... tag that also contain a call to a javascript with a string argument that is about 1300 characters long. At this point Lucene seems to stop indexing the remaining part the

Re: Unexpected end in indexing HTML file

2004-01-19 Thread Otis Gospodnetic
Look at the IndexWriter Javadocs. One of the fields allows you to set maximum term length. This may also be a problem with the HTML parser you are using. You didn't share a lot of details, so I cannot help more. Otis --- Syrén_Per [EMAIL PROTECTED] wrote: Hi all, Have a question

Re: Unexpected end in indexing HTML file

2004-01-19 Thread Erik Hatcher
On Jan 19, 2004, at 7:27 PM, Syrén Per wrote: Hi all, Have a question concerning indexing of HTML files. One of the files I'm trying to index have a input type=image ... tag that also contain a call to a javascript with a string argument that is about 1300 characters long. At this point Lucene