PathwayCommons / cpath2

Biological pathway data integration and access platform (Pathway Commons)
http://www.pathwaycommons.org/pc2/
MIT License
6 stars 5 forks source link

A specific search - hits order issue #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. http://webservice.baderlab.org:48080/search?q=name:%22Signaling%20by%20BMP%22
2. see the hits (3)

What is the expected output? What do you see instead?
The query should probably return only one hit: 
http://identifiers.org/reactome/REACT_12034.3, or, 
if three, this one must be on top.

What version of the product are you using? On what operating system?
PC2 V6 and V7 (cPath2 6.0.0-SNAPSHOT s/w)

Perhaps, we want to boost name field more and use another Lucene query parser 
(not MultiTermQueryParser) to treat such queries...

Original issue reported on code.google.com by rod...@gmail.com on 10 Dec 2014 at 4:26

GoogleCodeExporter commented 9 years ago
Looks, it's uneasy to fix, and it's the feature of StandardAnalyzer and perhaps 
MultiFieldQueryParser, which specifically expand/ignore white words in queries, 
such as "by", "be", "on", etc.
Thinking of what can be done about this...

Original comment by rod...@gmail.com on 14 Dec 2014 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by rod...@gmail.com on 16 Dec 2014 at 10:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision ce0b0c8a76ee.

Original comment by rod...@gmail.com on 17 Dec 2014 at 4:25