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 "Borgman, Lennart" <Le...@astrazeneca.com> on 2008/03/05 15:08:51 UTC

Using a thesaurus/onthology

Is there any possibility to use a thesaurus or an onthology when indexing/searching with Lucene?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Using a thesaurus/onthology

Posted by Mathieu Lecarme <ma...@garambrogne.net>.
Borgman, Lennart a écrit :
> Is there any possibility to use a thesaurus or an onthology when indexing/searching with Lucene?
>   
Yes. the WordNet contrib do that. And with a token filter, it's easy to 
use your own.
What do you wont to do?

M.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


RE: Using a thesaurus/onthology

Posted by "Duan, Nick" <ND...@mcdonaldbradley.com>.
Nutch has a ontology plugin based on Jena.
http://wiki.apache.org/nutch/OntologyPlugin

I haven't used it.  Just by looking at the source code, it seems it just
a Owl parser.  So apparently it only works with sources defined in OWL
format, not others such as RDF.  I think you need to extend the source
code to create your own Query processor to include related terms defined
in the ontology (with thesaurus being considered as a subset of
ontology).

If anyone has experience using the plug-in, I'd really appreciate any
suggestions and comments.

ND 
-----Original Message-----
From: Borgman, Lennart [mailto:Lennart.Borgman@astrazeneca.com] 
Sent: Wednesday, March 05, 2008 9:09 AM
To: java-user@lucene.apache.org
Subject: Using a thesaurus/onthology

Is there any possibility to use a thesaurus or an onthology when
indexing/searching with Lucene?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


RE: Using a thesaurus/onthology

Posted by "Duan, Nick" <ND...@mcdonaldbradley.com>.
Nutch has a ontology plugin based on Jena.
http://wiki.apache.org/nutch/OntologyPlugin

I haven't used it.  Just by looking at the source code, it seems it just
a Owl parser.  So apparently it only works with sources defined in OWL
format, not others such as RDF.  I think you need to extend the source
code to create your own Query processor to include related terms defined
in the ontology (with thesaurus being considered as a subset of
ontology).

If anyone has experience using the plug-in, I'd really appreciate any
suggestions and comments.

ND 
-----Original Message-----
From: Borgman, Lennart [mailto:Lennart.Borgman@astrazeneca.com] 
Sent: Wednesday, March 05, 2008 9:09 AM
To: java-user@lucene.apache.org
Subject: Using a thesaurus/onthology

Is there any possibility to use a thesaurus or an onthology when
indexing/searching with Lucene?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org