[Mulgara-dev] configuring resolvers

Steve Bayliss stephen.bayliss at acuityunlimited.net
Tue Nov 10 09:45:38 UTC 2009


> > 
> > The other alternative is to use a filter in SPARQL. We have 2 tests
> > that will work here:
> >   "Stephen" = fn:substring(?str, 0, 7)
> >   regex(?str, "^Stephen")
> 
> Thanks - I will give these a go (need to brush up on my 
> SPARQL in any case)
> - do you think there would be much of a performance hit in 
> this approach
> (against having a purpose-built index)?
> 

I gave the filter approach a go, and I can get that working.  However it is
significantly slower (orders of magnitude) than searching with
lucene-resolver
based on my hacked index.

I guess it's returning all the results, and then filtering.  There's maybe a

workable hybrid approach here; get results using the lucene-resolver as far
as possible; then further filtering of the results using FILTER...




More information about the Mulgara-dev mailing list