EEXCESS / recommender

EEXCESS stands for: Enhancing Europe’s eXchange in Cultural Educational and Scientific reSources and is funded by the EU under GA No. 600601
http://eexcess.eu/
3 stars 4 forks source link

[KIM Portal Partern Recommender] Query Language seems to be wrongly used #14

Closed mgrani closed 8 years ago

mgrani commented 9 years ago

The KIM Portal uses a mixture of + and OR for expressing the query semantics. However, the + (meaning the succeeding word must be in the results|) seems to be used wrongly (namely as if it would mean AND).

For example:

the following entities

screenshot 2015-08-24 13 36 32

yield to the following query

(Ada+(programming+language) OR Lord+Byron OR Society OR England)

and the following results

screenshot 2015-08-24 13 35 30

As it can be seen results contain Persons named Ada, but those results do not contain programming and language. From my point of view the correct query must be

(+Ada+(programming+language) OR +Lord+Byron OR Society OR England)

hziak commented 9 years ago

@jr-dig-orgel assigned it to you since i think thats your implemenation

hziak commented 9 years ago

just to clarify that:

shouldn't the query be "(Ada AND (programming AND language)) OR (Lord AND Byron) OR Society OR England"

mgrani commented 9 years ago

i think solr can be configured in different ways. i don't know what the correct format is.

mgrani commented 9 years ago

Just checked it with the link provided by KMBL: AND seems to be teh correct syntax for the endpoint:

mgrani commented 8 years ago

Seems like to be resolved for KIM. Or? If so please close the issue. Thanks.

hziak commented 8 years ago

Yes, should be resolved now