I looked into it and asked for some details on the Whoosh mailing list. I think I now have a way this could be done. I will do some more experiments, especially in regard to performance. If it works out, then one can write a plugin which influences the search result scores.
More on the ticket when I have something concrete. https://bitbucket.org/hpk42/devpi/issues/254/customize-search-results
Regards, Florian Schulze
On 29 Jul 2015, at 14:31, Florian Schulze wrote:
There are a few ways this could be implemented in the future, but nothing that can be done right away. I'll look into it. I'd say it would be best to create a ticket "Customize search results".
On 29 Jul 2015, at 11:28, Andrzej Ostrowski wrote:
I think the search results could be improved. In my company there are over 100 indices. There are tens, if not hundreds of different packages. There are multiple project indices.
Usually the indices scheme is as follows: [user/dev] -> [project/dev] -> [project/prod]
The packages workflow is quite standard, I think. Packages are uploaded by users to their dev indices, and then pushed to an integration index, and then to production.
Now when I search for a package usually the first search results are pointing to a user/dev index. Is it possible to configure the search to display the results from non-volatile indices first? I'm thinking here of less experienced people who just want to grab a bunch of tools they need, and a user/dev index doesn't seem like a reliable place to take packages from.
-- You received this message because you are subscribed to the Google Groups "devpi-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to devpi-dev+...@googlegroups.com. To post to this group, send email to devp...@googlegroups.com. Visit this group at http://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.