I'm afraid I have to manually retreive all docs for suggested query in
current filter (category:Cars&q=Renau) and count them to get the frequency
in given filter.
2014-02-26 19:09 GMT+01:00 Hakim Benoudjit :
> It seems that suggestion frequency stays the same with filter query (fq).
>
>
> 2014-0
It seems that suggestion frequency stays the same with filter query (fq).
2014-02-26 19:05 GMT+01:00 Ahmet Arslan :
>
>
> Just a guess, what happens when you use filter query?
> fq=category:Cars&q=Renau
>
>
>
> On Wednesday, February 26, 2014 7:38 PM, Hakim Benoudjit <
> h.benoud...@gmail.com> w
Just a guess, what happens when you use filter query? fq=category:Cars&q=Renau
On Wednesday, February 26, 2014 7:38 PM, Hakim Benoudjit
wrote:
I mean that: I want suggestions frequency to count only document in current
query (solr 'q'). My issue is even if suggestion 'word' is correct; the
f
I mean that: I want suggestions frequency to count only document in current
query (solr 'q'). My issue is even if suggestion 'word' is correct; the
frequency is relative to all index and not only to the current query.
Suppose that I have 'q = category:Cars', in this case, if my searched query
is 'R
Hi,
What do you mean by "suggestions only for current category" ? Do you mean that
suggested word(s) should return non-zero hits for that category?
Ahmet
On Wednesday, February 26, 2014 6:36 PM, Hakim Benoudjit
wrote:
@Jack Krupansky, here is the important portion of my solrconfig.xml:
@Jack Krupansky, here is the important portion of my solrconfig.xml:
default
title
solr.DirectSolrSpellChecker
internal
0.5
2
1
5
4
0.01
As you guess 'title' field is the one I'm searching & the one I'm building
my suggestions from.
@Ahmet Arsian: I
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:
Sent: Wednesday, February 26, 2014 10:50 AM
To: solr-user@lucene.apache.org
Subject: Format of the spellcheck.q used to get suggestions in current
filter
I have some difficulties to use `spellcheck.q` to get only suggestions for
current query.
When I set `spellcheck.q` to lucene query format
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`