Issue Details (XML | Word | Printable)

Key: SOLR-192
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Grant Ingersoll
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Solr

Move FunctionQuery to Lucene

Created: 20/Mar/07 02:11 AM   Updated: 11/Dec/07 01:11 PM
Return to search
Component/s: search
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works SOLR-192-functionQueries.patch 2007-08-29 03:42 PM Will Johnson 26 kB
Issue Links:
Blocker
 
Reference
 


 Description  « Hide
FunctionQuery is a useful concept to have in Lucene core. Deprecate the Solr implementation and migrate it Lucene core. Have the deprecated Solr version call the Lucene version.

See https://issues.apache.org/jira/browse/LUCENE-446



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Will Johnson added a comment - 27/Aug/07 04:32 PM
is anyone currently working on doing this migration? i submitted a patch to the lucene project tracker (https://issues.apache.org/jira/browse/LUCENE-989) and was going to post a patch for solr to use the new features but the implementations look to be reasonably different.

Will Johnson added a comment - 29/Aug/07 03:42 PM
patch attached that uses the functionality from lucene instead of solr. there were some changes in the api in the solr->lucene transition so there was one api change to a private static method in solr.search.QueryParsing. this patch also relies on LUCENE-989 (http://issues.apache.org/jira/browse/LUCENE-989) to get access to field names. a future patch could then get access to the statistics for exposing in results.
  • will

Doron Cohen added a comment - 06/Dec/07 12:34 PM
Lucene's o.a.l.search.function was added recently, though it does
not contain everything that is in Solr's search.function.

If Solr is committed to move and use Lucene's package instead,
I will work on that in Lucene, but I wanted to make sure first that
this is going to happen.

Thanks,
Doron


Otis Gospodnetic added a comment - 07/Dec/07 06:02 PM
I think that's the plan/hope - move the whole thing to Lucene.

Doron Cohen added a comment - 09/Dec/07 12:22 PM
There are some changes pending in Lucene search.function that I am about to commit.
I would like to first make change that these changes are not conflicting with any
new functionality in Solr.

Can someone from the Solr project contribute the content of current
search.function package of solr (under both java and test) to LUCENE-1085 .

Thanks,
Doron


Yonik Seeley added a comment - 11/Dec/07 01:11 PM
There are some changes pending in Lucene search.function that I am about to commit.
I would like to first make change that these changes are not conflicting with any
new functionality in Solr.

Doron, I'd just go ahead and make whatever changes you see fit in Lucene, and Solr should be able to adapt to it when someone gets that particular itch to scratch. It's not like we can make a backward compatible change at the source level in solr-land anyway (because of package + class name changes).