On Thu, 2010-07-08 at 16:00 +0100, Martyn Russell wrote:
> On Thu, 2010-07-08 at 16:57 +0200, Lorenzo Nizzi Grifi Gargiolli wrote:
> > Il giorno gio, 08/07/2010 alle 10.50 -0400, Jamie McCracken ha scritto:
> > > Hi,
> > > 
> > > What are the problems with TST?
> >  
> > > 
> > TST is good, don't get me wrong, but it's pretty basic.It lacks one of
> > the basic feature: if you type in the search bar "dog" you may have 30
> > docs with the word "dog" but you cannot see the context! You can only
> > see what docs have the word dog. A preview panel of the doc containing
> > the word dog with the word highlighted could be a good start. But, I
> > repeat, I dunno if it's possible. I only think it could be very
> > useful.   
> 
> The fts:snippet functionality is not working at the moment. It isn't
> trivial to get right either. So this is not a client issue as much as
> the engine needs improving here.
> 

yeah but its a very important one thats missing compared to 0.6 TST

I also dont think fts:snippet is the right way to do that as 0.6 TST
used a spearate dbus call so it could be fetched async after the results
were displayed (otherwise slow snippets would seriously slow down
display of results)

sqlite fts returns the positions and metadata field for a hit so it
should be easy to do. All thats needed is to expose fts:positions in
sparql and provide a dbus method to get text from a position, metadata
field and ID

jamie





_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to