Hello there,
I am trying to solve a problem where I use a new FunctionQuery to sort the
results by changing the score. The functionality works great when I actually
find results and it sorts them exactly the way I intended.
My problem is that when there are no results found, from some reason
--- On Sun, 12/12/10, Lev Alyshayev lev.alysha...@gmail.com wrote:
From: Lev Alyshayev lev.alysha...@gmail.com
Subject: FunctionQuery
To: java-user@lucene.apache.org
Date: Sunday, December 12, 2010, 8:42 PM
Hello there,
I am trying to solve a problem where I use a new
FunctionQuery
Ahmet, Thanks, it worked (eventually)...
On Sun, Dec 12, 2010 at 9:11 PM, Ahmet Arslan iori...@yahoo.com wrote:
--- On Sun, 12/12/10, Lev Alyshayev lev.alysha...@gmail.com wrote:
From: Lev Alyshayev lev.alysha...@gmail.com
Subject: FunctionQuery
To: java-user@lucene.apache.org
Date
if I do
not include the FunctionQuery in my BooleanQuery, so I can't see how this isn't
related in some way to FunctionQuery. Stepping through my code, I can see that
the extractTerms in BooleanQuery
public void extractTerms(Set terms) {
for (Iterator i = clauses.iterator(); i.hasNext
: So we reach a problem at extractTerms. I get an explanation no problem
...
: I'm using the version of FunctionQuery from the JIRA attachment.
that seems like the heart of the problem ... i haven't looked at the
version in Jira for a while, but the version commited into Solr does
1) which version of FunctionQuery are you using (from the solr repository
or from a Jira issue attachment?)
2) what is hte full stacktrace? (ie: which function/line is throwing the
Exception)
FunctionQuery supports explain just fine, not sure why you'd have
problems, oh wait ... i see exactly
I'm hoping someone can offer some insight into the FunctionQuery. I've just
discovered this, and I think it's exactly what I've been looking for, but I'm
having some trouble getting it to work. I can create and execute the query, but
if I try to see the Explanation, I get
but must admit to being a little bit out of
my
league with all the different elements involved. I
have read through various threads which make
reference
to using the FunctionQuery class for different means
but I am struggling to fully understand the steps I
need to take.
Can someone please
the
org.apache.solr.search.function classes created by Mr
Seeley but must admit to being a little bit out of my
league with all the different elements involved. I
have read through various threads which make reference
to using the FunctionQuery class for different means
but I am struggling to fully
to understand the
org.apache.solr.search.function classes created by Mr
Seeley but must admit to being a little bit out of my
league with all the different elements involved. I
have read through various threads which make reference
to using the FunctionQuery class for different means
but I am struggling
of minutes to give
: me an example of how I would implement a FunctionQuery
: to score each of the documents matched in my boolean
: query?
First off...
I'm not sure if replacing your DistanceComparatorSource with a
FunctionQuery that conputes the distance will result in a performance
improvment
Hej Paul,
I have implemented the DistanceComparatorSource
example from Lucene In Action (my Bible) and it works
great. We are now in the situation where we have
nearly a million documents in our index and the
performance of this implementation has degraded.
I have had the same problem with
I finally got around to updating FunctionQuery:
http://issues.apache.org/jira/browse/LUCENE-446
Comments suggestions welcome.
-Yonik
Now hiring -- http://forms.cnet.com/slink?231706
-
To unsubscribe, e-mail: [EMAIL PROTECTED
13 matches
Mail list logo