Order text search by position of search criteria in string

I'm looking to build a search across URLs that orders the results by urls
that end in the search criteria.

For example; across the below 3 urls: z/a/b/c; a/z/b/c; a/b/c/z

searching for "z" - would result in a the order

a/b/c/z; a/z/b/c; z/a/b/c

searching for "a"

z/a/b/c; a/b/c/z; a/z/b/c

I'm wondering if elastic search - will be well suited to tackle this
challenge?

Thanks,
Brent

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d9777e0c-d28d-4e06-9754-6f4407bbd192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.