[ https://issues.apache.org/jira/browse/SOLR-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653535#action_12653535 ]
ryguasu edited comment on SOLR-896 at 12/4/08 3:06 PM: ------------------------------------------------------------ I don't know if this first stab will be useful to anyone else or not, but it might be slightly easier to get started with than writing your own. Limitations include: * No ability to configure qsol (even though qsol is highly configurable) -- you're stuck with the defaults * This doesn't alter qsol itself at all, so you don't get support for certain Solr goodies, like function queries Usage: * This patch creates <solrroot>/contrib/qsol. * Download qsol from the qsol home page and put qsol jar into <solrroot>/contrib/qsol/lib * cd <solrroot>/contrib/qsol * Run ant (no args needed) to create the qsol Solr plugin (<solrroot>/contrib/qsol/build/apache-solr-qsol-1.4-dev.jar or some such) * To deploy, copy both the qsol Solr plugin jar and qsol.jar to your solr lib directory. In the example jetty setup that comes with solr, that should be <solrroot>/example/solr/lib/. In a multicore setup, you can specify where the lib directory is in solr.xml. * There are a few different ways to make qsol accessible from Solr now. One is to add <queryParser name="qsol" class="org.apache.solr.search.QsolQParserPlugin"/> to your solrconfig.xml, and then to prepend "{!qsol}" to your queries URLs, e.g. "...?q={!qsol}term1 | term2". See http://wiki.apache.org/solr/SolrPlugins for more info. was (Author: ryguasu): I don't know if this first stab will be useful to anyone else or not, but it might be slightly easier to get started with than writing your own. Limitations include: * No ability to configure qsol (even though qsol is highly configurable) -- you're stuck with the defaults * This doesn't alter qsol itself at all, so you don't get support for certain Solr goodies, like function queries Usage: * This patch creates <solrroot>/contrib/qsol. * Download qsol from the qsol home page and put qsol jar into <solrroot>/contrib/qsol/lib * cd <solrroot>/contrib/qsol * Run ant (no args needed) to create the qsol Solr plugin (<solrroot>/contrib/qsol/build/apache-solr-qsol-1.4-dev.jar or some such) * To deploy, copy both the qsol Solr plugin jar and qsol.jar to your solr lib directory. In the example jetty setup that comes with solr, that should be <solrroot>/example/solr/lib/. In a multicore setup, you can specify where the lib directory is in solr.xml. > Solr Query Parser Plugin for Mark Miller's Qsol Parser > ------------------------------------------------------ > > Key: SOLR-896 > URL: https://issues.apache.org/jira/browse/SOLR-896 > Project: Solr > Issue Type: New Feature > Components: search > Reporter: Chris Harris > Attachments: SOLR-896.patch > > > An extremely basic plugin to get the Qsol query parser > (http://www.myhardshadow.com/qsol.php) working in Solr. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.