[jira] Resolved: (SOLR-281) Search Components (plugins)

2008-05-24 Thread Ryan McKinley (JIRA)
it was repoened has been resolved. Any new issues should get their own JIRA issue Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New

[jira] Commented: (SOLR-281) Search Components (plugins)

2008-02-01 Thread Michael Dodsworth (JIRA)
love to contribute a move towards using Spring. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Components: search

[jira] Commented: (SOLR-281) Search Components (plugins)

2008-02-01 Thread Yonik Seeley (JIRA)
of this JIRA isse: http://www.nabble.com/Re%3A--jira--Commented%3A-Search-Components-%28plugins%29-to15227648.html#a15227648 Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project

[jira] Commented: (SOLR-281) Search Components (plugins)

2008-01-31 Thread Yonik Seeley (JIRA)
is preferred over an interface for things that a user will extend... that way signature changes can be made in a backward compatible manner. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281

[jira] Commented: (SOLR-281) Search Components (plugins)

2008-01-31 Thread Michael Dodsworth (JIRA)
, create an interface to allow the parser itself implement both init() and createParser() (or create()). It then avoids having to create 2 classes (in the case of DisMax, in the same file...which is not pretty). Search Components (plugins) --- Key: SOLR

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-12-12 Thread Ryan McKinley (JIRA)
... the committed version of this patch is not commented out: http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-12-10 Thread Sabyasachi Dalal (JIRA)
, searchComponents ); NamedListPluginLoaderSearchComponent loader = new NamedListPluginLoaderSearchComponent( xpath, components ); Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-11-27 Thread Ryan McKinley (JIRA)
' components, use: arr name=first-components strfirst/str /arr arr name=last-components strlast/str /arr -- /requestHandler {code} Search Components (plugins) --- Key: SOLR-281 URL: https

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-11-27 Thread Yonik Seeley (JIRA)
, and so a user could add their component at any point. Perhaps your first/last is sufficient though. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-11-27 Thread Ryan McKinley (JIRA)
facet and mlt without specifying the whole chain. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Components: search

[jira] Reopened: (SOLR-281) Search Components (plugins)

2007-11-21 Thread Ryan McKinley (JIRA)
not require everyone to update their solrconfig.xml When SOLR-414 is committed, I will attach a patch using this strategy. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-11-12 Thread Henri Biestro (JIRA)
if not; +1 otherwise. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-11-12 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541786 ] Yonik Seeley commented on SOLR-281: --- I'm checking out the latest version now... Search Components (plugins

[jira] Issue Comment Edited: (SOLR-281) Search Components (plugins)

2007-11-12 Thread Yonik Seeley (JIRA)
PROTECTED]): I'm checking out the latest version now... Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-11-12 Thread Ryan McKinley (JIRA)
Version/s: 1.3 The core changes are committed in rev594268. I will resolve this issue and open a new issue to track cleaning up the ResponseBuilder Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira

[jira] Resolved: (SOLR-281) Search Components (plugins)

2007-11-12 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley resolved SOLR-281. Resolution: Fixed Lets track ResponseBuilder issues with SOLR-410 Search Components (plugins

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-11-11 Thread Ryan McKinley (JIRA)
the ResponseBuilder public variables to private vars with get/set methods. How do you feel about committing this and working out the ResponseBuilder details in subsequent smaller patches? Search Components (plugins) --- Key: SOLR-281

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Ryan McKinley (JIRA)
strorg.apache.solr.handler.component.DebugComponent/str /arr /requestHandler Perhaps the components should be passed the init params? Unless there is a compelling reason, I don't think components need to be shared across request handlers thus justifying a top level component registry. Search Components

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Yonik Seeley (JIRA)
} That's OK, the one you produced fails for me on a clean checkout too looks like maybe we hit a little corner case with patch/diff. Should we perhaps commit this working version, marking ResponseBuilder as in-flux, and then continue generating patches from that??? Search Components (plugins

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Yonik Seeley (JIRA)
... Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Yonik Seeley (JIRA)
Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281-SearchComponents.patch

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Yonik Seeley (JIRA)
deleting. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Yonik Seeley (JIRA)
Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-10-25 Thread Ryan McKinley (JIRA)
version, marking ResponseBuilder as in-flux, and then continue generating patches from that??? If you feel comfortable with the big picture, yes, I think we should commit this and refine the ResponseBuilder and perhaps the configuration options in smaller patches. Search Components

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-10-24 Thread Yonik Seeley (JIRA)
() for configuration? Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-10-23 Thread Henri Biestro (JIRA)
we got Yonik's proper version. junit 0 errors 0 failures. Same patch production process. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-10-22 Thread Henri Biestro (JIRA)
Ryan's patch versions, I attached the patch as solr-281.patch (*not* as SOLR-281-SearchComponents.patch) Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-10-22 Thread Yonik Seeley (JIRA)
(pluggable query parser stuff... SOLR-334) Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-09-16 Thread Pieter Berkel (JIRA)
was also going to suggest that it might be a good idea to support class shorthand notation, so org.apache.solr.handler.component.* can be written solr.component.* in solrconfig.xml. Search Components (plugins) --- Key: SOLR-281 URL

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-09-16 Thread Ryan McKinley (JIRA)
org.apache.solr.handler.component. to the base list, you could just configure: org.apache.solr.handler.component.QueryComponent Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-09-08 Thread Ryan McKinley (JIRA)
time to check this out, that would be great. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-08-17 Thread Sharad Agarwal (JIRA)
Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281-SearchComponents.patch

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-08-16 Thread Pieter Berkel (JIRA)
, would it be possible for you to create a new patch? thanks, Piete Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-08-13 Thread Sharad Agarwal (JIRA)
Built and tested successfully with junit. Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-08-02 Thread Sharad Agarwal (JIRA)
) Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley Attachments: SOLR-281

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-08-01 Thread Sharad Agarwal (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sharad Agarwal updated SOLR-281: Comment: was deleted Search Components (plugins) --- Key

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-07-31 Thread Ryan McKinley (JIRA)
looking at it. Of course! Search Components (plugins) --- Key: SOLR-281 URL: https://issues.apache.org/jira/browse/SOLR-281 Project: Solr Issue Type: New Feature Reporter: Ryan McKinley

Re: [jira] Commented: (SOLR-281) Search Components (plugins)

2007-07-31 Thread Pieter Berkel
Sharad, I'm interested in implementing MoreLikeThis support in the Dismax request handler (see SOLR-295) and it seems the best way forward is through the search components idea suggested in SOLR-281. I'm not actively working on it at the moment either but I think it's an important development

[jira] Commented: (SOLR-281) Search Components (plugins)

2007-07-11 Thread Pieter Berkel (JIRA)
to Solr development so I'm afraid my contributions to this issue would be mostly limited to (hopefully helpful) ideas and suggestions however I'm happy to tinker with the patched code from above and help test this new component framework as it is developed. cheers, Pieter Search Components

[jira] Updated: (SOLR-281) Search Components (plugins)

2007-07-01 Thread Ryan McKinley (JIRA)
- implementation that mimics the current Standard query. It is mostly intended to flush out design issues. This works by sticking a 'ResponseBuilder' in the context and sharing that between each component. Search Components (plugins) --- Key: SOLR-281

RE: search components (plugins)

2007-06-11 Thread Will Johnson
assuming those stages exist. (which again is how many of the other engines do things) - will -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Sunday, June 10, 2007 12:51 PM To: solr-dev@lucene.apache.org Subject: search components

Re: search components (plugins)

2007-06-11 Thread Chris Hostetter
: // choose one query method : docs = Query( req, debug ) :- standard :- dismax :- mlt (as input) there are two small hitches to an approach like this, the first is that you'd like to reuse more of hte query processing then to just say go pick the list of docs basedo nthe reuqest

Re: search components (plugins)

2007-06-11 Thread Chris Hostetter
: for (component : ListComponent) { : // a chance to communicate needs to other components? : // highlighting needs a Query or terms, and a list of fields : // faceting needs a base DocSet : component.prepare(req, rsp); : } : : while (not all components done) { : for (component :

Re: search components (plugins)

2007-06-11 Thread Ryan McKinley
the second hitch is that docs only makes sense in ssuedo code ... in reality there are DocSets and DocLists, and the efficiencies of geting only one instead of both can be significant, but if the first phase of processing doesn't know what expectations the later phases have (facet or not?

RE: search components (plugins)

2007-06-11 Thread Will Johnson
stage hands on access to the searcher... crap looks like ryan beat me by 3 minutes. oh well, what he said. - will -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 2:27 PM To: solr-dev@lucene.apache.org Subject: Re: search components

Re: search components (plugins)

2007-06-11 Thread Ryan McKinley
: : One interesting/difficult part would be the standardization of the : communication between components. Communication can be coordinated with things like SolrQueryRequest.getContext() ... it will have to be fairly loose communication governed by convetion, but i don't see anyway to avoid

Re: search components (plugins)

2007-06-11 Thread Yonik Seeley
On 6/11/07, Ryan McKinley [EMAIL PROTECTED] wrote: while (not all components done) { for (component : ListComponent) { boolean done = component.process(req,rsp); } } - - - - - Yonik, what components do you imagine need to run multiple times? Not sure... a component that needs to run

Re: search components (plugins)

2007-06-11 Thread Ryan McKinley
On 6/11/07, Yonik Seeley [EMAIL PROTECTED] wrote: On 6/11/07, Ryan McKinley [EMAIL PROTECTED] wrote: while (not all components done) { for (component : ListComponent) { boolean done = component.process(req,rsp); } } - - - - - Yonik, what components do you imagine need to run

search components (plugins)

2007-06-10 Thread Yonik Seeley
Some people have needed some custom query logic, and they had to implement their own request handlers. They still wanted all of the other functionality (or almost all), so they are forced to copy the standard request handler or dismax, or both. That's not the easiest to maintain, and could be

Re: search components (plugins)

2007-06-10 Thread Ryan McKinley
Looking toward the future, and distributed search, this might be a natural place to add hooks to implement that distributed logic. This would allow other people to efficiently support their custom functionality in a distributed environment. Thoughts? I like it. As is the prospect of adding

Re: search components (plugins)

2007-06-10 Thread Yonik Seeley
On 6/10/07, Ryan McKinley [EMAIL PROTECTED] wrote: Looking toward the future, and distributed search, this might be a natural place to add hooks to implement that distributed logic. This would allow other people to efficiently support their custom functionality in a distributed

Re: search components (plugins)

2007-06-10 Thread J.J. Larrea
I very much support a plugin architecture for ResponseHandlers. One aspect could be a Responselet which adds something to the response, as detailed in Ryan's example below. Quite valuable in itself. But another aspect could be a Querylet which adds something to the query before execution.