Thanks Mathieu...I'll have to give KeywordAnalyzer a try. On Friday, January 23, 2015 at 8:52:47 AM UTC-7, Mathieu Bodin wrote: > > From my point of view, I think the lucene results are correct regarding > the StandardAnalyser > <http://lucene.apache.org/core/4_7_0/analyzers-common/org/apache/lucene/analysis/standard/StandardAnalyzer.html> > > used by default as stated in documentation > <http://www.orientechnologies.com/docs/last/orientdb-lucene.wiki/Full-Text-Index.html>. > > As far as I can see the location field would be tokenized and therefor > results should be slightly different from the like query. > > One way to implement the like feature through lucene would be to use the > supplied KeywordAnalyzer > <http://lucene.apache.org/core/4_7_0/analyzers-common/org/apache/lucene/analysis/core/KeywordAnalyzer.html> > in > the metadata when creating the index. See metadata. > > Le mardi 20 janvier 2015 09:11:59 UTC+1, Erik Peterson a écrit : >> >> Using 2.0-RC1 >> After some experimenting with queries using like, containstext, and >> lucene, I have a search where "select from X where like 'abc%" provides the >> best results. However it's slow and like can't use indexes correct? Is >> there another way to emmulate "like" with lucene indexes? (Note that >> "select >> from X where lucene 'abc*" provides very different search behavior from the >> simiar "like" query.) Thanks. >> >
-- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
