Boost value is always 1

2011-02-16 Thread Akos Tajti
I'm trying to set different boost values for different fields. Before adding the document to the index every value is fine. But when I run a search in the explanation every boost is 1 and the final score of the matches is not affected by the boost values set. I set omitNorms to false and index to A

boost value is always 1

2011-02-16 Thread Akos Tajti
I'm trying to set different boost values for different fields. Before adding the document to the index every value is fine. But when I run a search in the explanation every boost is 1 and the final score of the matches is not affected by the boost values set. I set omitNorms to false and index to A

Re: query with long names

2011-02-16 Thread Erick Erickson
Sure, just use a field that is not analyzed. Perhaps you want to define a new field in your documents like "nameKey" that is analyzed with something like KeywordAnalyzer. See: http://lucene.apache.org/java/3_0_3/api/all/index.html PerFieldAnalyzerWrapper will let you use different analyzers for di

Re: I can't post email to d...@lucene.apache.org maillist

2011-02-16 Thread Li Li
thank you. I got it. 2011/2/16 Chris Hostetter : > > : I used to receive the email myself because I subscribe the maillist. > : but recently if I post a email to the maillist, I can't receive the > : email posted by me. So I thought I failed to post this email. > > I notice you are using gmail --

query with long names

2011-02-16 Thread ZYWALEWSKI, DANIEL (DANIEL)
Hello, I have a problem with documents that much the same query. So I do not index anything what can identify clearly my documents (like id). That's why I want add a document that is already indexed I don't add. And If I want delete a document and more documents match my query I don't delete an

Re: problem with the lucene and tomcat server

2011-02-16 Thread starz10de
i found the solution: in WEB-INF\lib was the old version so I replaced it with the new one -- View this message in context: http://lucene.472066.n3.nabble.com/problem-with-the-lucene-and-tomcat-server-tp2508060p2508186.html Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Re: problem with the lucene and tomcat server

2011-02-16 Thread Dawid Weiss
Start Tomcat with class loading info and inspect the logs for multiple Lucene JARs (even though the version seems to be fine)? export CATALINA_OPTS=-XX:+TraceClassLoading $TOMCAT_HOME/bin/catalina run Dawid On Wed, Feb 16, 2011 at 10:23 AM, starz10de wrote: > > Hi All, > > I have an application

problem with the lucene and tomcat server

2011-02-16 Thread starz10de
Hi All, I have an application in java use lucene 3.0.3 which run fine. I wanted to use servlet to make this application as web application. However, I got this error: java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/io/File;)Lorg/apache/lucene/store/FSDirectory; I se