lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@hoplahup.net>
Subject Re: how to ignore full stop for specific word
Date Thu, 06 Nov 2014 12:15:16 GMT
My trick would be to replace .net with dotNet (or use some funky Unicode-letter to replace
the dot).
If you use consistently the same analyzer-chain, then it will match cleanly.

paul


On 6 nov. 2014, at 12:42, Rajendra Rao <rajendra.rao@launchship.com> wrote:

> I have some word which contain  full stop (.)   itself  ,example is
> (1) .Net ,  asp.net  .i want lucene consider it as a single word not full
> stop .
>    how to achieve it.
> 
> 
> another problem  is some word contain specific  format
> like c#   .lucene not searching this type of word.
> 
> if word contain number, like sql server 2008 .it is ignoring 2008 here.


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