Hi Lev,

On 2019-02-15T17:14:50, Tannen, Lev (USAEO) [Contractor] wrote:
> If I understood your requirement correctly you should use "AND" rather
> than "or". Also I, believe,  "AND" should be in capital letters, but I
> am not sure.

I think that the suggestion query does not support boolean logic. I'm
not sure, but the query pulls up tokens matching "and":

.. curl 'http://localhost:8983/solr/dblp/authors?suggest.q=Diep%20AND%20Stef'
.
. "suggest":{"default":{
.       "Diep AND Stef":{
.         "numFound":10,
.         "suggestions":[{
.             "term":"Eric Andonoff",
.             "weight":0,
.             "payload":""},
.           {
.             "term":"André Sales Fonteles",
.             "weight":0,
.             "payload":""},
.           {
.             "term":"Rossana M. C. Andrade",
.             /*a bbreviated */
.

So I'd come to the conclusion that it won't suffice.
I prefinxing both tokens with '+', just to be sure. But that also won't
come up with the suggestions I'd like to have.

Thank you for the suggestion!

regards,
David

Reply via email to