I have created a gist with an analyzer that uses filter shingle in attempt to
match sub phrases.  For instance I have entries in the table with discrete
phrases likeEGFRLungCancerLung Cancerand I want to match these when
searching the phrase 'EGFR related lung cancerMy expectation is that the
multi word matches score higher than the single matches, for instance...1.
Lung Cancer2. Lung3. Cancer4. EGFRAdditionally, I tried a standard analyzer
match but this didnt yield the desired result either.  One complicating
aspect to this approach is that the min_shingle_size has to be 2 or more. 
How then would I be able to match single words like 'EGFR' or 'Lung'? thanks
https://gist.github.com/nicktackes/ffdbf22aba393efc2169.js
<https://gist.github.com/nicktackes/ffdbf22aba393efc2169.js>  



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/shingle-filter-to-support-sub-phrase-matching-tp4060411.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1406119405718-4060411.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to