[Catalog-sig] search queries in PyPI

Richard Jones richardjones at optushome.com.au
Thu May 15 00:16:46 CEST 2008


On Thu, 15 May 2008, Tarek Ziade wrote:
> I think it wouldn't cost too much here to change the webui interface, to
> use store.py features.

The current search implementation is a trade-off between the complexity you 
would like to have and useful results for arbitrary, inelegant term lists.

Your pseudo-code omits an important feature - the scoring of the result based 
on the type of match.

Perhaps the scoring could be altered such that hits on more than one term in 
the same field result in a higher score?


    Richard


More information about the Catalog-SIG mailing list