lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smitha Kuldeep (smtt)" <s...@cisco.com>
Subject Having problem with indexing/ searching with _<digit> or -<digit>
Date Fri, 04 Jul 2014 06:11:22 GMT
Hello team,
We are using lucen-core-2.9.1.jar for indexing and searching for text fields

We are having problem when our string has digits as prefix or suffix of _/-

Ex:
I have texts
ICMP6-a-b
ICMP6-echo

If I provide ICMP6 it doesn't search any of the above.
But if I have
ICMP-a-b
ICMP-echo
Providing ICMP will search above 2.

Similar issue is seen when I have _
Ex:
A_b_c_1
A_b_c_2

If I search A_B above 2 will be searched
But if I provide
A_b_c none will be searched.
Can you suggest the solution.

We are using StandardAnalyzer.
Tried to provide _ and - as stopString.
Doesn't solve the problem.
Thanks,
Smitha

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