My frirst problem using lucene

2006-10-31 Thread Miren
hello i am trying to use lucene annd i am my fisrt problem. i have install the demo example into the tomcat and when i try to load osne search, into the results.jsp page appears this error. can you help me? thanks. org.apache.jasper.JasperException: No se puede compilar la clase para JSP Ha tenid

Re: Lucene search priorities

2006-10-31 Thread Erick Erickson
I don't remember who wrote this, Chris or Yonik or Otis, but here's the word from somebody who actually knows... index time field boosts are away to express things like "this document title is worth twice as much as the title of most documents". query time boosts are a way to express "i care abou

Re: Lucene search priorities

2006-10-31 Thread Frode Bjerkholt
Hi This is probably related to my question from October 5. - Here is the reponse from Doron Cohen: Frode Bjerkholt <[EMAIL PROTECTED]> wrote on 05/10/2006 01:10:43: > My intention is to give different terms in a field different boost values. > The queries from a use perspective, will be one full

how to handle words with accent?

2006-10-31 Thread Valerio Schiavoni
hello, i use lucene to index documents in Italian. many terms end with accented letters: società, fedeltà, etc What happen now is that if a user search for : societa' (note the a and the ' character), it doesn't get the same results as he would when searching for società. What is the best practi

Re: how to handle words with accent?

2006-10-31 Thread Patrick Turcotte
I was referring to http://lucene.apache.org/java/docs/api/org/apache/lucene/analysis/ISOLatin1AccentFilter.htmlwhich is in the 2.0 version of Lucene. Patrick On 10/31/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote: actually yes, it would be a good result! is the class you mentioned the one re

Re: how to handle words with accent?

2006-10-31 Thread Patrick Turcotte
Should both results be returned in both cases? If so, take a look at the IsoLatin1Filter class, it will remove those accents for indexing and searching if needed. Patrick On 10/31/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote: hello, i use lucene to index documents in Italian. many terms en

Re: how to handle words with accent?

2006-10-31 Thread Valerio Schiavoni
actually yes, it would be a good result! is the class you mentioned the one referred here: http://sourceforge.net/mailarchive/message.php?msg_id=11811387 (which I had to extract from the sources of the project mentioned in the post) or you were referring to something else ? thanks a lot! On 10

Re: My frirst problem using lucene

2006-10-31 Thread Chris Lu
My guess is: change from QueryParser.parse(queryString, "contents", analyzer); to QueryParser.parse(queryString); btw: Can you please translate the errors into English? -- Chris Lu - Instant Full-Text Search On Any Database/Application site: http://www.dbsight.net demo:

Re: Lucene search priorities

2006-10-31 Thread Doron Cohen
"Erick Erickson" <[EMAIL PROTECTED]> wrote on 31/10/2006 05:03:18: > I don't remember who wrote this, Chris or Yonik or Otis, but here's the word > from somebody who actually knows... > > index time field boosts are away to express things like "this document title > is worth twice as much as the ti

Re: My frirst problem using lucene

2006-10-31 Thread Doron Cohen
Might be related to an already resolved issue - see related discussion: http://www.nabble.com/lucene-web-demo-is-not-working--tf1736444.html#a4718639 "Miren" <[EMAIL PROTECTED]> wrote on 31/10/2006 03:57:50: > parse(java.lang.String) in org.apache.lucene.queryParser.QueryParser > cannot be applied

Question on storing object hierarchy in Lucene Index

2006-10-31 Thread Rajesh parab
Hi, Lets consider the following object structure. X | - Y | - Z The objects Y and Z does not have an existance on their own. They are owned by object X. How do we effectively search such object