FunctionQuery

2010-12-12 Thread Lev Alyshayev
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

Re: FunctionQuery

2010-12-12 Thread Ahmet Arslan
--- 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

Re: FunctionQuery

2010-12-12 Thread Lev Alyshayev
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

Re: Explanation from FunctionQuery

2007-04-06 Thread Annona Keene
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

Re: Explanation from FunctionQuery

2007-04-06 Thread Chris Hostetter
: 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

Re: Explanation from FunctionQuery

2007-04-05 Thread Chris Hostetter
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

Explanation from FunctionQuery

2007-04-04 Thread Annona Keene
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

Re: FunctionQuery example request

2006-03-17 Thread Paul Lynch
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

FunctionQuery example request

2006-03-16 Thread Paul Lynch
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

FunctionQuery example request

2006-03-15 Thread Paul Lynch
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

Re: FunctionQuery example request

2006-03-15 Thread Chris Hostetter
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

Re: FunctionQuery example request

2006-03-15 Thread Brian Riddle
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

FunctionQuery

2005-11-30 Thread Yonik Seeley
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