lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick dos Remedios (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SOLR-1139) SolrJ TermsComponent Query and Response Support
Date Tue, 15 Jun 2010 23:40:23 GMT

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

Nick dos Remedios edited comment on SOLR-1139 at 6/15/10 7:38 PM:
------------------------------------------------------------------

I'd like to know which version of the patch to use against SOLR 1.4.

Edit - I mistakenly compiled against the 3.x branch and not 1.4.

-I tried using the latest version but when I compiled the source I got an error:-

{noformat}
compile-solrj:
    [javac] Compiling 3 source files to /usr/local/src/lucene-solr_3x/solr/build/solrj
    [javac] /usr/local/src/lucene-solr_3x/solr/src/solrj/org/apache/solr/client/solrj/SolrQuery.java:70:
cannot find symbol
    [javac] symbol  : variable TERMS_ROWS
    [javac] location: interface org.apache.solr.common.params.TermsParams
    [javac]       this.remove(TermsParams.TERMS_ROWS);
    [javac]                              ^
{noformat}

-Sure enough in 1.4 TermsParams has no "TERMS_ROWS" field.-

-I also tried the version dated "2009-12-12" but that resulted in an incomplete patch.-


      was (Author: nickdos):
    I'd like to know which version of the patch to use against SOLR 1.4.

I tried using the latest version but when I compiled the source I got an error:

{noformat}
compile-solrj:
    [javac] Compiling 3 source files to /usr/local/src/lucene-solr_3x/solr/build/solrj
    [javac] /usr/local/src/lucene-solr_3x/solr/src/solrj/org/apache/solr/client/solrj/SolrQuery.java:70:
cannot find symbol
    [javac] symbol  : variable TERMS_ROWS
    [javac] location: interface org.apache.solr.common.params.TermsParams
    [javac]       this.remove(TermsParams.TERMS_ROWS);
    [javac]                              ^
{noformat}

Sure enough in 1.4 TermsParams has no "TERMS_ROWS" field.

I also tried the version dated "2009-12-12" but that resulted in an incomplete patch.
  
> SolrJ TermsComponent Query and Response Support
> -----------------------------------------------
>
>                 Key: SOLR-1139
>                 URL: https://issues.apache.org/jira/browse/SOLR-1139
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>    Affects Versions: 1.4
>            Reporter: Matt Weber
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.5, 3.1, 4.0
>
>         Attachments: SOLR-1139-WITH_SORT_SUPPORT.patch, SOLR-1139.patch, SOLR-1139.patch,
SOLR-1139.patch, SOLR-1139.patch, SOLR-1139.patch, SOLR-1139.patch, SOLR-1139.patch
>
>
> SolrJ should support the new TermsComponent that was introduced in Solr 1.4.  It should
be able to:
> - set TermsComponent query parameters via SolrQuery
> - parse the TermsComponent response

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message