lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Szott <sz...@zib.de>
Subject Re: solrJ and spell check queries
Date Sun, 03 Jan 2010 13:21:32 GMT
Hi,

Jay Fisher wrote:
> I'm trying to find a way to formulate the following query in solrJ. This is
> the only way I can get the desired result but I can't figure out how to get
> solrJ to generate the same query string. It always generates a url that
> starts with select and I need it to start with spell. If there is an
> alternative url string that will work please let me know.
>
> http://solr-server/spell/?indent=on&q=shert&wt=json&spellcheck=true&spellcheck.collate=true
>
In case you hook SpellCheckComponent directly into the standard request 
handler, i.e., /select,

http://solr-server/select?indent=on&q=shert&wt=json&spellcheck=true&spellcheck.collate=true

should work.

-Sascha



Mime
View raw message