database: match full import paths, don't split on periods.

For all projects we now index the full import path. So user can search
for example gddo/doc.

Handle urls and float numbers as one term, such as, 0.8.

This fixes #366, and fixes #384.

Change-Id: Ia2c95ddcb64963590edc19d5fb4d4b06ea19e018
Reviewed-by: Andrew Gerrand <>
2 files changed