Closed sylvinus closed 7 years ago
This would be helpful in the future, but also in the short-term to debug issues like commonsearch/cosr-results#2
A domain field will probably need to be added to the Elasticsearch mapping
domain
Then we have to parse terms like site:example.com in the queries. Possibly related: #2 & commonsearch/cosr-front#18
site:example.com
The domain field has been added, all that's left to do is a small patch in searcher.py to use it: https://github.com/commonsearch/cosr-back/blob/master/cosrlib/searcher.py#L38
This would be helpful in the future, but also in the short-term to debug issues like commonsearch/cosr-results#2
A
domain
field will probably need to be added to the Elasticsearch mappingThen we have to parse terms like
site:example.com
in the queries. Possibly related: #2 & commonsearch/cosr-front#18