I tried a couple of searches with the web services interface in the ChEBI website. The same results apply in a simple text search.
· Searching for 'ADP' I get 'ADP-D-ribose' as first result (score 1.04), while 'ADP' is second (score 0.96).
· Searching for 'O2' I get dioxigen - the expected result - but only in eighth position (including one 2-star result).
Is it possible to have the scores raised for those best matches so that they become first in the result list?
Thanks!
Now I see this is related to another open bug:
https://sourceforge.net/tracker/?func=detail&aid=3066121&group_id=125463&atid=702608
yes, it's possible to boost the index or query, and we probably need to tweak that soon.
We could try with lucene's ShingleFilter, it sounds related to our problem:
http://stackoverflow.com/questions/977271/finding-exact-match-using-lucene-search-api (bottom)