I'm trying to understand how to make a userInput() work, with the minimum of settings. I could not retrieve results for keyword "product", even with "product 1" in some document titles. I simplified the query and settings to the bare minimum. Filters and aggregations work fine.
The field definition, without any ranking, fieldset, ...:
field wpsolr_title type string {
indexing: summary | index
}
The field content in a document:
The query:
{"userQuery":"product","yql":"select * from wpsolr1 where (userInput(@userQuery))"}