Hi,
I'm currently trying to get rid of query parser problems with stopwords
(depending on the query, there are ArrayIndexOutOfBoundsExceptions,
e.g. for stop AND nonstop where stop is a stopword and nonstop not).
While this isn't hard to fix (I'll enter a bug and patch in bugzilla),
there's one
1) Is there a way to set the query boost factor depending not on the presence of a
term, but on the presence of two specific terms? For example, I may want to boost the
relevance of a document that contains both iraq and clerics, but not boost the
relevance of documents that contain only one
Chong, Herb wrote:
what effect and what recommendations are valid for Lucene 1.3?
Same as always: use the defaults and call optimize() only when you know
you won't be changing the index for a while.
If you have lots of RAM, increasing minMergeDocs may increase indexing
speed, but raising it too
Nicolas Maisonneuve wrote:
i would like to know
in the IndexReader.document(int i)
what is this number i ?
if the the first document is the oldest document indexed
and the last the youngest ? (so we can sort by date easyly) ?
Yes, documents with lower numbers were indexed earlier. As
Yes, this is correct.
Peter Keegan wrote:
So they are sorted by reverse document number. Is this the 'external'
document number (the one that is adjusted for the segment's base)? If so,
then this means that documents with equal score are returned in the order in
which they were added to the
Try calling IndexReader.getFieldNames().
Karl Koch wrote:
How can I get a list of all fields in an index from which I know only the
directory string?
Karl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
my job is to measure and benchmark for capacity planning purposes. that means knowing
how much room i have to work with on the tuning knobs.
Herb...
-Original Message-
From: Doug Cutting [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 12:18 PM
To: Lucene Users List
Subject:
setMaxClauseCount determines the maximum number of clauses, which is not
your problem here. Your problem is with required clauses. There may
only be a total of 31 required (or prohibited) clauses in a single
BooleanQuery. If you need more, then create more BooleanQueries and
combine them
Nicolas Maisonneuve wrote:
in the Similarity Javadoc
score(q,d) =Sum [tf(t in d) * idf(t) * getBoost(t.field in d) *
lengthNorm(t.field in d) * coord(q,d) * queryNorm(q) ]
in the FAQ
score_d = sum_t(tf_q * idf_t / norm_q * tf_d * idf_t / norm_d_t * boost_t) *
coord_q_d
In FAQ | In Javadoc
1 /
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
Hi, experts,
Our application pulls data out of DB and write as
lucene document every 5 minutes. We use a loop to keep
updating document. But we only use 1 writing thread
and always closes IndexWriter once we finish writing.
Unfortunately, we always got IOException and
FileNotFoundException ( I
11 matches
Mail list logo