Is there any way to return the actual tokens generated by an
index_analyzer at search time? I am using the synonyms filter
(without expansion) to index a particular field, and would like to get
the standardized value (right-hand-side of the "=>" in my synonyms
file ) for each document that was retrieved.
synonym file includes, for example:
i-pod, i pod => ipod,
when user searches for "i-pod" or "i pod", I want to return the
indexed doc, but also want to return "ipod" as the token that was
created at index time as part of the analysis.
I have my synonyms analyzer up and running, and can get the proper
tokens using the Analyze API.
Many thanks in advance for your thoughts and time.
Thanks Shay! - I was hoping to get the actual doc returned together
with the tokens.
Not really mission critical. I'll fiddle around with the analyze api
a bit more to see if I can get the desired output.
On Mar 14, 8:27 am, Shay Banon <[hidden email]> wrote:
> How about using the analyze API?
> On Wednesday, March 14, 2012 at 2:03 AM, stratawing wrote:
> > Wow. Bummer. Zero responses.