lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon <>
Subject Re: Suggester on Dynamic fields
Date Wed, 22 Oct 2014 13:31:19 GMT
Hi Ramzi,

First thanks for your comments.

Regarding your line
     parameters.set("qt", /suggest")

My understanding is that "suggest" has to be a handler defined in
SolrConfig.xml. And the handler needs to have one of more defined (search)
component(s).  The search component syntax needs dictionary (or file) or a
indexed field to search on.   In my case, I am going with the indexed

As I stated in my post, the issue I have is that I have a list of fields
that user configured at run time (which are defined as dynamic fields).
Whenever user configured a field to be used for autosuggestion, it will
trigger indexing.  Later on, when user search in the configured field, he
expects the auto completion feature while he types.  Since the fields are
configured at run time, I can not defined Search components for those fields
in advance unless the Search component syntax support dynamic fields,
something like f_*_auto. But unfortunately I didn't see anything like that. 

My first question is how to make dynamic field works in SearchComponent
definitions.  If this is impossible, the second question  would be how to
create the handler on the fly when user configure a field to be auto


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message