If you add &explainOther=<some id>, see:
http://wiki.apache.org/solr/SolrRelevancyFAQ

you might get some hints. You can use the TermsComponent
to see if the synonyms are getting in the index, but you'll
have to have a very restricted input set (like one doc) for that
to be helpful for a specific document.

Ahhh, try getting the stand-alone Luke program, it allows
a lower-level exploration of the index, see:
http://code.google.com/p/luke/
The LukeRequestHandler is based on Luke, but Luke
itself is more flexible.....

When are you putting synonyms in? Index time? Query time?
Both? Showing your schema.xml fragment for the field
in question would help diagnose the problem, as would
showing the results of attaching &debugQuery=on to the
URL.

Best
Erick

On Mon, Apr 2, 2012 at 4:26 PM, karthik <kmoha...@gmail.com> wrote:
> 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
>>

Reply via email to