Hi Tielman see here i've updated the issue, will be fixed in 2.1 https://github.com/orientechnologies/orientdb-lucene/issues/44
2015-04-14 22:29 GMT+02:00 Tielman Van Vleck <[email protected]>: > Has any progress been made with this? There are times when one might want > to do an exact search or a fuzzy search on the same field. This could be > done by creating two different indices (one Lucene, one traditional) on the > single field, but querying one of multiple indices is quite a bit more > complicated. Is there a way to query a lucene index and get only exact > matches? > > Thanks, > Tielman > > > On Thursday, June 26, 2014 at 11:10:52 AM UTC-4, Enrico Risa wrote: >> >> Hi Brian, >> >> yes it is not intendend. Lucene index shouldn't be used with = operator. >> I will fix this preventing usage of Lucene index in exact match so it will >> works as expected. >> >> Enrico >> >> >> >> >> 2014-06-26 16:26 GMT+02:00 Brian O'Keefe <[email protected]>: >> >>> Hi all, >>> >>> I'm experimenting with the new Lucene Index functionality to index a >>> "full name" field. It seems to work great if using queries such as: >>> >>> SELECT FROM Person WHERE name LUCENE '"Thomas" AND "Jones"' -- contains >>> everyone who is "Thomas Jones", "Jones Thomas", "A. Thomas Jones", etc. -- >>> as expected >>> >>> However, one behavior change that I noticed was if I run the query: >>> >>> SELECT FROM Person WHERE name = 'Thomas Jones' >>> >>> It will return any person who has either Thomas OR Jones appearing is >>> his/her name (e.g., 'Thomas Smith', 'Fred Jones'). I would expect an exact >>> match in this situation. This causes a bit of a confusion for any >>> end-users running ad-hoc queries. >>> >>> If this is functioning as intended, that is fine (and I can educate the >>> few testing this), but I wanted to raise the issue in case it is not >>> intentional. >>> >>> Thanks, >>> >>> Brian >>> >>> -- >>> >>> --- >>> 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. >>> >> >> -- > > --- > 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. > -- --- 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.
