Any comments?
Did we just unintentionally remove getFieldComparatorSource in 3.0.0?
-John
-- Forwarded message --
From: John Wang
Date: Mon, Dec 21, 2009 at 11:21 AM
Subject: 3.0 api change
To: Lucene Users List ,
lucene-...@jakarta.apache.org
Hi guys:
I noticed SortField.
Is there are way to implement a minimum range for a SpanQuery or combination
thereof?
For example, using:
"The boy said hello to the boy"
I'd like to use a SpanNearQuery consisting of the terms "The" and "boy" that
returns one span including the entire sentence but not a span for the first
two w
You are right, that is the behavior that I'm getting, any other ideas then ?
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Monday, December 21, 2009 11:18 PM
To: java-user@lucene.apache.org
Subject: RE: PayloadNearQuery
Then I have no other idea how to solve this
Then I have no other idea how to solve this. It seems that Elias has already
noticed that behaviour.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Grant Ingersoll [mailto:gsi...@gmail.com]
> Sent: Monda
I don't think that will work, as I don't believe that the SpanQueries delegate
scoring to the subclauses. Instead, they just rely on iterating the spans.
-Grant
On Dec 21, 2009, at 2:44 PM, Uwe Schindler wrote:
> It is as you describe:
>
> PayloadTermQuery is a subclass of SpanQuery. So creat
How can I add the first the PayloadNearQuery, I only add clauses.. (It is
only one term I did the following code - this code doesn't provide the
needed effect).
SpanTermQuery [] spanTerms = new SpanTermQuery[terms.length];
spanTerms[0] = new PayloadTermQuery(new Term(field,terms[0]),new
AveragePa
It is as you describe:
PayloadTermQuery is a subclass of SpanQuery. So create a SpanNearQuery with
slop=0 and order=true and add first the PayloadNearQuery, then the rest of
the phrase terms as SpanTermQuery in order of appearance.
Uwe
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
htt
Thank you, I managed to do that for terms - but for a phrase like the
example below ("!Graph Algorithms") I'm still don't know how to do it...
-Original Message-
From: AHMET ARSLAN [mailto:iori...@yahoo.com]
Sent: Saturday, December 19, 2009 8:34 PM
To: java-user@lucene.apache.org
Subjec
I want to have the effect of handling the first term of a phrase query as a
PayloadTermQuery and for the others just normal handling ... how can I do
that ?
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For a
Hi
The standard approach to paging is just to do the search again and
pick out the docs you want, along the lines you outline. You cannot
pass start/end info to any search methods.
When you set max doc to, say, 10, lucene will find the 10 highest
scoring docs and return them. There is no point
Your search service sounds very interesting. I once also thought about a
similar application for shopping.
2009/12/21 fei liu
> that's a good idea. This approad will work.
>
> Supposing someone submit a query "nice rice restaurant", I think he/she
> wants to find a chinese restaurant. But you wi
that's a good idea. This approad will work.
Supposing someone submit a query "nice rice restaurant", I think he/she
wants to find a chinese restaurant. But you will find the category of
"restaurant" retrieved with higher score than "chinese restaurant".
Usually you may find no category retrieved b
Hi, All! I have some problems with Lucene's search process and it's
results, so I hope You could help me.
First one: how should I split results by pages? Now I get search
results in such way:
TopDocs topDocs = is.search(finalQuery, 10) //For example
and after that I get the needed results in
Please read the book Lucene in action to get your answer.
I remember that the author gives an example on TermFreqVector and a book
like this example
On Mon, Dec 21, 2009 at 5:12 PM, Phan The Dai wrote:
> Hello Dinh,
> Thank you very much for your answer,
>
> Before examize deeply Class "MoreLike
Hello Dinh,
Thank you very much for your answer,
Before examize deeply Class "MoreLikeThis", I have got one more issue:
To work with my idea,
I need implementing a Vector Space Model by using Lucene Library.
so that I can compare every document in the SET of Docs
with a query (or include several t
Have you taken a look at MoreLikeThis
http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/similar/MoreLikeThis.html
Regards,
Dinh
my mission is that finding in the SET what are tops of similar documents
> with this query.
>
--
Spica Framework: http://code.google.com/p/spica
http
Dear everyone,
I am beginner of Java Lucene, please help me for the following question of
my research:
Now, I have a SET of text documents that indexed by Lucene.
If I have another text document as a query,
my mission is that finding in the SET what are tops of similar documents
with this query.
H
17 matches
Mail list logo