You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2009/02/04 23:09:25 UTC

Re: How to index correctly taking in account the synonyms using Wordnet ???

The first thing I'd do is get a copy of luke (google lucene luke) and
examine your index to see what's actually there in the document
you claim in incorrectly returned. If that doesn't
enlighten you, you really have to provide more details and code
examples, because your question is unanswerable as it
stands.

Best
Erick

On Wed, Feb 4, 2009 at 3:27 PM, Ariel <is...@gmail.com> wrote:

> Hi every body:
>
> I am using wordnet to index my document taking in account the synonyms
> with wordnet.
> After I indexed the whole documents collections I made a query with
> the word "snort" but documents that contain the word bird are
> retrieved, I don't understand this because snort and bird are not
> synonyms then Why are the documents that contain "bird" retrieved ???
>
> Could help me to solve that problem ???
>
> How do you index your documents using wordnet ???
>
> Thanks in advance.
> Regards
> Ariel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: How to index correctly taking in account the synonyms using Wordnet ???

Posted by Ariel <is...@gmail.com>.
Well, I have the luke 0.8, I opened my index with that tool but there is not
any clue of synonyms in the field I have indexed with the synonym analyzer.
I don't know how can I see the group of synonyms of each term, sould
somebody tell me hot to do that ???



On Wed, Feb 4, 2009 at 5:09 PM, Erick Erickson <er...@gmail.com>wrote:

> The first thing I'd do is get a copy of luke (google lucene luke) and
> examine your index to see what's actually there in the document
> you claim in incorrectly returned. If that doesn't
> enlighten you, you really have to provide more details and code
> examples, because your question is unanswerable as it
> stands.
>
> Best
> Erick
>
> On Wed, Feb 4, 2009 at 3:27 PM, Ariel <is...@gmail.com> wrote:
>
> > Hi every body:
> >
> > I am using wordnet to index my document taking in account the synonyms
> > with wordnet.
> > After I indexed the whole documents collections I made a query with
> > the word "snort" but documents that contain the word bird are
> > retrieved, I don't understand this because snort and bird are not
> > synonyms then Why are the documents that contain "bird" retrieved ???
> >
> > Could help me to solve that problem ???
> >
> > How do you index your documents using wordnet ???
> >
> > Thanks in advance.
> > Regards
> > Ariel
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
>