Some sort of Levenshtein distance search?


(Mark Perry) #1

I have a data set with an address string that looks like this:

030 CAMBORNE AVENUE HALEWOOD KNOWSLEY L25 9PQ

I want to search a second data set for all addresses that "look" like this address. The second data set holds address strings like this:

30 Camborne Avenue Halewood L25 9PQ

Almost the same, but a couple of differences. Can ElasticSearch do this sort of thing out of the box, and if so what's the best query type to use?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Mark Perry) #2

FLT...

On Friday, 22 November 2013 11:14:36 UTC, Mark Perry wrote:

I have a data set with an address string that looks like this:

030 CAMBORNE AVENUE HALEWOOD KNOWSLEY L25 9PQ

I want to search a second data set for all addresses that "look" like this address. The second data set holds address strings like this:

30 Camborne Avenue Halewood L25 9PQ

Almost the same, but a couple of differences. Can ElasticSearch do this sort of thing out of the box, and if so what's the best query type to use?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Leonardo Menezes) #3

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html

Leonardo Menezes
http://lmenezes.com

http://twitter.com/leonardomenezes

On Fri, Nov 22, 2013 at 12:26 PM, Mark Perry mark.p3rry@gmail.com wrote:

FLT...

On Friday, 22 November 2013 11:14:36 UTC, Mark Perry wrote:

I have a data set with an address string that looks like this:

030 CAMBORNE AVENUE HALEWOOD KNOWSLEY L25 9PQ

I want to search a second data set for all addresses that "look" like this address. The second data set holds address strings like this:

30 Camborne Avenue Halewood L25 9PQ

Almost the same, but a couple of differences. Can ElasticSearch do this sort of thing out of the box, and if so what's the best query type to use?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4