A few more details to this thread - when i try the analysis tab from the admin console I see that the synonym is kicking in & its matching the text in the document that I am expecting to see as part of the results. However the actual search is not returning that document.
Also I used the termcomponent and tried to see how many docs match the synonym term & i don't see the term at all. So not sure how to check if this is working or not. Thanks, Karthik On Mon, Apr 2, 2012 at 3:41 PM, karthik <kmoha...@gmail.com> wrote: > Hi, > > I am trying to view what terms are getting indexed for a specific field in > a specific document. How can i view this information? > > I tried the luke handler & it's not showing me what I am looking for. I am > using Solr 3.1.0. > > I am using index time synonym expansion & saw that one of my synonym was > not working. In general synonyms are working since there are many other > cases where they are working. So to debug this issue I wanted to see if the > synonym for the word is stored within the field for a given document inside > the index. Luke showed me the actual string from the document but not the > synonym. > > I tested luke on a different document which gets returned while using a > synonym and I dont see the synonym term in the field "<str name="value">" > or "<str name="internal">" of the luke handler. > > Any pointers on how to view the actual indexed term would be helpful. > > Thanks, > Karthik >