You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2014/07/23 13:24:39 UTC

[jira] [Comment Edited] (SOLR-5410) Solr wrapper for the SpanQueryParser in LUCENE-5205

    [ https://issues.apache.org/jira/browse/SOLR-5410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070524#comment-14070524 ] 

Tim Allison edited comment on SOLR-5410 at 7/23/14 11:23 AM:
-------------------------------------------------------------

Added standalone source and jars for current latest stable version of Lucene/Solr (4.9.0) here:

https://github.com/tballison/lucene-addons.

I'll also try to keep my fork of lucene-solr up to date on the same site for integration with trunk...if there is interest.

>From the README file: 
To get this to work in Solr:

1) add lucene-sandbox.jar to your Solr class path (you will need to download Lucene separately from Solr!)
2) add solr-5410-x.jar to your Solr class path
3) add lucene-5205-x.jar to your Solr class path
4) add the following line to your solrconfig.xml file:

  <queryParser name="span" class="solr.search.SpanQParserPlugin"/>
5) at search time, add defType=span to your query string OR &q={!span}quick


was (Author: tallison@mitre.org):
Added standalone source and jars for current latest stable version of Lucene/Solr (4.9.0) here:

https://github.com/tballison/tallison-lucene-addons.

I'll also try to keep my fork of lucene-solr up to date on the same site for integration with trunk...if there is interest.

>From the README file: 
To get this to work in Solr:

1) add lucene-sandbox.jar to your Solr class path (you will need to download Lucene separately from Solr!)
2) add solr-5410-x.jar to your Solr class path
3) add lucene-5205-x.jar to your Solr class path
4) add the following line to your solrconfig.xml file:

  <queryParser name="span" class="solr.search.SpanQParserPlugin"/>
5) at search time, add defType=span to your query string OR &q={!span}quick

> Solr wrapper for the SpanQueryParser in LUCENE-5205
> ---------------------------------------------------
>
>                 Key: SOLR-5410
>                 URL: https://issues.apache.org/jira/browse/SOLR-5410
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Jason R Robinson
>         Attachments: SOLR-5410.patch, Solr_SpanQueryParser.zip
>
>
> This is a simple Solr wrapper around the SpanQueryParser submitted in [LUCENE-5205|https://issues.apache.org/jira/i#browse/LUCENE-5205].
> Dependent on  [LUCENE-5205|https://issues.apache.org/jira/i#browse/LUCENE-5205]
> ***Following Yonik's Law*** 
> This is patch is more of a placeholder for a much more polished draft.  Among other things, test scripts and javadocs are forthcoming!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org