vladimir
vladimir

Reputation: 705

Solr eDisMax query

I have field "spell" with text "Quanti disperati si rovescerebbero con i barconi sulle nostre.."

I can search via edismax like this one:

q={!field f=spell}disperati si rovescerebbero' - OK

or

q={!prefix f=spell}disperat' - OK

but how can I search not a complete sentence something like this one:

q={!field f=spell}disperati si rovescere*' - INCORRECT

Upvotes: 2

Views: 1603

Answers (1)

Jayendra
Jayendra

Reputation: 52769

Try this:

q={!type=edismax qf=spell v='disperati si rovescerebbero*'}

Upvotes: 2

Related Questions