: 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