WARNING: I've never really tried this, but I don't see why it wouldn't work.

What does the full query look like?
suggest.q=*:*&suggest.cfq=[2017-05-15T0:0:0.0Z TO *] maybe? And I'm
assuming that the contextField here is a tdate type and you're using
one of the Document*Dictionary implementations for the dictionary.

Need to see the relevant bits of your solrconfig.xml and schema file
as well as the actual query you send to the suggester.

And you've also built the suggester, correct? Can you get suggestions
from it if you don't specify cfq?

Best,
Erick

On Mon, May 15, 2017 at 7:37 PM, arik <arik...@gmail.com> wrote:
> I'd like to use a date (TrieDate) for the contextField in my SuggestComponent
> with an AnalyzingInfixLookupFactory.  Basically am trying to narrow my
> suggestions by a relevant date range, something like
> suggest.cfq=[2017-05-15T0:0:0.0Z TO *]
>
> Doesn't seem to work, so before trying further I wondered if contextField
> even supports dates?  All the examples seem to use strings.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/does-suggester-s-contextField-support-TrieDate-data-type-tp4335208.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to