Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9933

support span queries in SolrCoreParser

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      starting point: Daniel Collins's pull request

      next step: test case(s) to demonstrate what is currently not supported

      1. SOLR-9933.patch
        19 kB
        Christine Poerschke

        Issue Links

          Activity

          Hide
          cpoerschke Christine Poerschke added a comment -

          SOLR-839 added XML Query Parser support (deftype=xmlparser) and SOLR-9275 made XML Query Parser support extensible-via-configuration e.g.

          <!-- solrconfig.xml snippet -->
          <queryParser name="myxmlparser" class="XmlQParserPlugin">
            <str name="MyCustomQuery">com.mycompany.myteam.MyCustomQueryBuilder</str>
          </queryParser>
          

          This ticket here is to allow not only the configuration of custom QueryBuilder classes but also the configuration of custom SpanQueryBuilder classes (SpanQueryBuilder extends QueryBuilder).

          Show
          cpoerschke Christine Poerschke added a comment - SOLR-839 added XML Query Parser support (deftype=xmlparser) and SOLR-9275 made XML Query Parser support extensible-via-configuration e.g. <!-- solrconfig.xml snippet --> <queryParser name= "myxmlparser" class= "XmlQParserPlugin" > <str name= "MyCustomQuery" >com.mycompany.myteam.MyCustomQueryBuilder</str> </queryParser> This ticket here is to allow not only the configuration of custom QueryBuilder classes but also the configuration of custom SpanQueryBuilder classes (SpanQueryBuilder extends QueryBuilder).
          Hide
          cpoerschke Christine Poerschke added a comment -

          Attaching proposed patch by Daniel Collins and Christine Poerschke - https://github.com/bloomberg/lucene-solr/pull/188 - see LUCENE-7658 for the Lucene portion of the proposed changes.

          Show
          cpoerschke Christine Poerschke added a comment - Attaching proposed patch by Daniel Collins and Christine Poerschke - https://github.com/bloomberg/lucene-solr/pull/188 - see LUCENE-7658 for the Lucene portion of the proposed changes.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 746786636404cdb8ce505ed0ed02b8d9144ab6c4 in lucene-solr's branch refs/heads/master from Christine Poerschke
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7467866 ]

          SOLR-9933: SolrCoreParser now supports configuration of custom SpanQueryBuilder classes. (Daniel Collins, Christine Poerschke)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 746786636404cdb8ce505ed0ed02b8d9144ab6c4 in lucene-solr's branch refs/heads/master from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7467866 ] SOLR-9933 : SolrCoreParser now supports configuration of custom SpanQueryBuilder classes. (Daniel Collins, Christine Poerschke)
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit c99b39fca1551ce079ccea451ecec5dfc296bd0f in lucene-solr's branch refs/heads/branch_6x from Christine Poerschke
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c99b39f ]

          SOLR-9933: SolrCoreParser now supports configuration of custom SpanQueryBuilder classes. (Daniel Collins, Christine Poerschke)

          Show
          jira-bot ASF subversion and git services added a comment - Commit c99b39fca1551ce079ccea451ecec5dfc296bd0f in lucene-solr's branch refs/heads/branch_6x from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c99b39f ] SOLR-9933 : SolrCoreParser now supports configuration of custom SpanQueryBuilder classes. (Daniel Collins, Christine Poerschke)

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              cpoerschke Christine Poerschke
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development