You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Chris Harris (JIRA)" <ji...@apache.org> on 2008/12/04 23:48:44 UTC

[jira] Created: (SOLR-896) Solr Query Parser Plugin for Mark Miller's Qsol Parser

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


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.


[jira] Updated: (SOLR-896) Solr Query Parser Plugin for Mark Miller's Qsol Parser

Posted by "Chris Harris (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Harris updated SOLR-896:
------------------------------

    Attachment: SOLR-896.patch

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.


[jira] Updated: (SOLR-896) Solr Query Parser Plugin for Mark Miller's Qsol Parser

Posted by "Chris Harris (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Harris updated SOLR-896:
------------------------------

    Attachment: SOLR-896.patch

Update common.classpath variable in contrib\qsol\build.xml to to be compatible with trunk r732229.

> 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, 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.


[jira] Issue Comment Edited: (SOLR-896) Solr Query Parser Plugin for Mark Miller's Qsol Parser

Posted by "Chris Harris (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (SOLR-896) Solr Query Parser Plugin for Mark Miller's Qsol Parser

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850539#action_12850539 ] 

Mark Miller commented on SOLR-896:
----------------------------------

Yeah, I'll try and do that soon.

Chris was thinking about taking it and putting it up on google code, but not sure where he is with that idea.

> 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, 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.


[jira] Commented: (SOLR-896) Solr Query Parser Plugin for Mark Miller's Qsol Parser

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850508#action_12850508 ] 

Otis Gospodnetic commented on SOLR-896:
---------------------------------------

This looks super straight forward.  The only problem is that Qsol itself seems to be gone.

Mark, any way you can put Qsol somewhere?  Maybe just attach the Jar to this issue?

> 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, 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.