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

Nick dos Remedios commented on SOLR-1139:
-----------------------------------------

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to