lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Itamar Syn-Hershko <ita...@code972.com>
Subject Re: Use of synonyms or thesaurus
Date Tue, 07 Nov 2017 12:37:53 GMT
Hi Chris,

Please see
https://github.com/apache/lucenenet/blob/master/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs
and
https://github.com/apache/lucenenet/blob/master/src/Lucene.Net.Tests.Analysis.Common/Analysis/Synonym/synonyms.txt
(of our 4.8 version)

Cheers,

--

Itamar Syn-Hershko
Freelance Developer & Consultant
Elasticsearch Partner
Microsoft MVP | Lucene.NET PMC
http://code972.com | @synhershko <https://twitter.com/synhershko>
http://BigDataBoutique.co.il/

On Tue, Nov 7, 2017 at 2:09 PM, Chris.Hill <chris@tooled-up.com> wrote:

> I have been trialling Lucene.net search as a replacement for SQL Full
> Text. What is the best way to go about replicating the SQL Thesaurus
> facility in Lucene - we currently use both expansion and replacement sets
> in our SQL Thesaurus for both single words and short phrases.
>
> We have a few scenarios such as where something can be known by similar
> but slightly differently spelled terms - e.g. :
>
> lawnmower
> lawn mower
>
> Or also by slightly more differing terms - e.g. :
>
> cordless drill
> cordless combi
> combi drill
>
> Our data contains lots of names of items that can be known as several
> other things so this facility for synonyms is very important.
>
> Thanks.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message