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
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
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
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 --
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
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.
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
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