: > &sort=query({qf=worked_companies_im:61}) desc : : which yields : : > sort param could not be parsed as a query, and is not a field that : exists in the index: query({qf=worked_companies_im:61})
because it can't be parsed as a query (and is not a field) Try a simple request like... http://yoururl/select?q={qf=worked_companies_im:61} ...and you should also see an error. the "query()" function is strict about requiring nested local param syntax (so you can't just pass an arbitrary query string to it) but in your case the input just doesn't make sense. basd on your problem description, i'm guessing what you want is something like... {!dismax qf=worked_companies_im v=61} {!lucene f=worked_companies_im v=61} {!term f=worked_companies_im v=61} or when used in the query function in a sort... sort=query({!term f=worked_companies_im v=61}) desc -Hoss