: The user searches for the terms A, B, C and D.
: Of-course, the document containing all terms has the highest score. The
: document containing just the terms B and C has a higher score than the
: document containing the terms A and B.
:
: A+B+C+D > B+C > A+B
:
: I know the boosting combinations
What a valuable answer. thanks.
don't worry about multiple hits. I would never store multiple values in
specific_field.
On 11/13/06, Erick Erickson <[EMAIL PROTECTED]> wrote:
...
--
Kindly Regards
Tony
===
Just don't close it. Think of this as a singleton pattern.
Erick
On 11/12/06, spinergywmy <[EMAIL PROTECTED]> wrote:
Hi Doron,
How to reuse the searcher? Is there any example on how to do this?
Thanks
regards,
Wooi Meng
--
View this message in context:
http://www.nabble.com/Filte
Hi Doron,
How to reuse the searcher? Is there any example on how to do this?
Thanks
regards,
Wooi Meng
--
View this message in context:
http://www.nabble.com/Filter-query-method-tf2586547.html#a7310277
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
Forgot to post the stacktrace
java.io.IOException: read past EOF
at
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:60)
at
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:33)
at org.apache.lucene.store.IndexInput.readI
Hi,
I make a search on several indexes using a MultiSearcher and I can only
retrieve the TermFreqVectors from the IndexSearcher in the Searcher at
position 0 in my searchable array.
For example ():
hits = multi.search(luceneQuery);
for (int k = 0; k < hits.length(); k++) {
((IndexSearc
I'm going mostly from memory here, so the details may not be entirely
accurate, but.
See TermDocs (FilterTermDocs?). Use the seek method to get to the term e.g.
TermDocs.seek(new Term("specific_field", ""));
Note that the "" as the value of the term gets all the terms. Then use
TermDocs.nex
I *knew* it wasn't just a random thing, solely intended to confuse me
Thanks for that..
Erick
On 11/11/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: Well, first ~ isn't a wildcard, it's a "fuzzy search" (aka similar
terms).
: So getting "bellow" for "yellow~" is expected. Although, s
Hey tony,
I guess the easiest way for you to do that is to create a extra field
containig the field names and just fire a boolean query on this extra
field.
best regards simon
On 11/12/06, tony yin <[EMAIL PROTECTED]> wrote:
I want search document by specific field, not by field value, How to?
I want search document by specific field, not by field value, How to?
I have some document store in fields{content, key, path} and some in
{content, key, path, specific_field}
and I want to find all the document that have specific_field, Could you help
me?
10 matches
Mail list logo