You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "tobias.schoessler" <to...@gmail.com> on 2013/02/08 20:59:24 UTC

addSortField throws field not found

same field name is accepted for addFacetField but throws a field not found ex
for the addSortField method.

Solr 3.6 
using solrj client.

can that be?





--
View this message in context: http://lucene.472066.n3.nabble.com/addSortField-throws-field-not-found-tp4039321.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: addSortField throws field not found

Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: addSortField throws field not found
: 
: same field name is accepted for addFacetField but throws a field not found ex
: for the addSortField method.

As a general rule, if you are going to ask a question about an error that 
you got -- you need to cut/paste the exception (verbatim) into your email 
... with the full stack trace.

if the error was logged by solr in response to a query, cut/paste the 
query (verbatim) into your email as well.

if the error was thrown in your client code, cut/paste your client 
code (verbatim) into your email as well.

    https://wiki.apache.org/solr/UsingMailingLists

As things stand, you have provided almost no information that anyone can 
use to help you here ... my best guess is maybe you are having a jar 
mismatch .. but that assumes you mean you got a NoSuchMethodError about 
the "addSortField" in the SolrJ API ... maybe you mean you got an error 
from solr about a field not existing in your schema? ... i honestly have 
no idea.



-Hoss