Hi,

I'm working on a proof-of-concept for a client, replacing an existing 
legacy search system with an elastic based alternative.  One of the 
requirements that comes from the existing system is that, when performing a 
fuzzy or wildcard search, the user can view all the matching terms, and 
include/exclude them manually from the subsequent search.

Thus, if a fuzzy search for 'graham' is submitted (or a wildcard like 
'gr*m*'), it might match grayam, graeme, grahum, grahem, etc.  The users 
want to be able to see this list of matched terms, then, for instance, 
exclude 'grayam' from the expanded terms list, so that all the other 
expansions are used, but not the specifically excluded one. 

I’m struggling to retrieve this list of terms in the first place.  Ideally 
I’d like to submit a simple query for a fuzzy or wildcard term, and have it 
return just the possible matching terms (up to a given limit).

I’ve had reasonable success using the term suggester for fuzzy-type 
responses, but can’t use this for wildcard expansions. 

Is there a good way to do this using 'out-of-the-box' elastic 
functionality?  

Any advice / hints gratefully accepted!

Thanks

Graham

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4b41c54b-f749-4cf1-902a-f3d0ce145d29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to