Hi Hakim,

According to wiki spellcheck.q is intended to use with 'spelling ready' 
query/input. 
'spelling ready' means it does not contain field names, AND, OR, etc.
Something like should work. spellcheck.q=value1 value2&q=+field1:value1 
+field2:value2

Ahmet


On Wednesday, February 26, 2014 5:51 PM, Hakim Benoudjit 
<h.benoud...@gmail.com> wrote:
I have some difficulties to use `spellcheck.q` to get only suggestions for
current query.

When I set `spellcheck.q` to lucene query format (field1:value1 AND
field2:value2), it doesnt return me any result.

I have supposed that the value stored in `spellcheck.q` is just the value
of ``spellcheck` component default field, but it returns an error in this
case.

Any help please?

Reply via email to