<div dir="ltr">Yeah it's using SQLite FTS.  I use the same thing in Roam and it works really well.  The only main suggestion I would add is just index the search data + fid to lookup. Currently it stores the geometry information at that point which blows the size out a lot for large data sets.  In Roam I just went with the id and search data only and most indexes are ~2MB which is fine for that.  <div><br></div><div>Apart from that we should core it, although I would say make it C++ and expose it via the API so plugins can just plug it into other maps, etc.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 11, 2016 at 11:49 PM, HAUBOURG <span dir="ltr"><<a href="mailto:regis.haubourg@eau-adour-garonne.fr" target="_blank">regis.haubourg@eau-adour-garonne.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, looking at the code, it seems to be actually using full text search.<br>
I will check further why some I had the feeling it was a simple like search..<br>
To be continued..<br>
<span class="">Régis<br>
<br>
> -----Message d'origine-----<br>
> De : Yves Jacolin [mailto:<a href="mailto:yjacolin@free.fr">yjacolin@free.fr</a>]<br>
</span>> Envoyé : vendredi 11 mars 2016 10:43<br>
> À : HAUBOURG<br>
> Cc : <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
<div class="HOEnZb"><div class="h5">> Objet : Re: [Qgis-developer] Usability of searches<br>
><br>
> R2gis,<br>
><br>
> I know that Denis is open to PR as we (camptocam) worked on his plugin in the<br>
> past. :)<br>
><br>
> Y.<br>
> On Friday, March 11, 2016 9:36:25 HAUBOURG wrote:<br>
> > Hi Yes,<br>
> > Wonderful! I had only tested in first versions, this is so good now!<br>
> > Maybe we should just improve fuzzy search / full text search<br>
> > capabilities, (it doesn't bear typos in my tests).. Very nice work<br>
> > Régis<br>
> ><br>
> > > -----Message d'origine-----<br>
> > > De : Yves Jacolin [mailto:<a href="mailto:yjacolin@free.fr">yjacolin@free.fr</a>] Envoyé : vendredi 11<br>
> > > mars 2016 08:58 À : <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a> Cc : HAUBOURG<br>
> > > Objet : Re: [Qgis-developer] Usability of searches<br>
> > ><br>
> > > On Thursday, March 10, 2016 6:16:06 Régis Haubourg wrote:<br>
> > > > Paolo Cavallini wrote<br>
> > > ><br>
> > > > > Does anyone have a good example of the UX from other software we<br>
> > > > > could adhere to?<br>
> > > ><br>
> > > > The best UI for search is the simplest.. Google does that well :).<br>
> > > > A simple text widget, and filtering options in the results (facets<br>
> > > > /<br>
> > > > coloring) is enough I think. All the intelligence must be in the<br>
> > > > indexing full text search engine IMHO, not in the UI.<br>
> > > ><br>
> > > >  Why not a bar, just like command line bar of Processing + a<br>
> > > > shortcut<br>
> > > ><br>
> > > > to raise it ?<br>
> > ><br>
> > > Régis, All,<br>
> > ><br>
> > > QuickFinder does it like this. Denis is the main author of this plugin.<br>
> > ><br>
> > > It can plug to osm, internal layer and GeoMapfish. You can even add<br>
> > > more search engine to it.<br>
> > ><br>
> > > Y.<br>
><br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div></blockquote></div><br></div>