lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <rl...@leirtech.com>
Subject Re: storing the analyzed value
Date Sat, 01 Apr 2017 21:23:16 GMT
On 2017-04-01 10:51 AM, John Blythe wrote:
> Hi Rick. I should explain further. I'm not looking to have the input stored
> but rather the final product, specifically the synonym that an input may be
> mapped to.
>
> If I have McDonald, McD's, and Mac Donald all mapped to "McDonald's" I'd
> like to be able to not only access which one was sent to solr for search
> (e.g. "McD's") but _also_ the synonym it mapped to: "McDonald's"
>
> Does this make more sense?
>
> Thanks for any continued discussion
Shawn answered well, as always.
Here is possibly another way. You can enable highlighting, and scan the 
output to find the passage which is highlighted. But it can be a 
challenge to get highlighting working correctly (I have not yet used the 
new highlighter).
cheers -- Rick

Mime
View raw message