[
https://issues.apache.org/jira/browse/LUCENE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133406#comment-16133406
]
Steve Rowe commented on LUCENE-7932:
------------------------------------
Rohit, there is nowhere near enough information here to figure out what the
problem is. And it looks like you're talking about configuration and/or code
that isn't part of Lucene (LocationCode, Category, CollectionObjectID). What
the developers need is a simple way to reproduce the problem, i.e. data and
code.
You should start by asking questions on java-user mailing list:
[http://lucene.apache.org/core/discussion.html].
> Search record with field value='a' or 'A' returns all records along with one
> more field value
> ---------------------------------------------------------------------------------------------
>
> Key: LUCENE-7932
> URL: https://issues.apache.org/jira/browse/LUCENE-7932
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/queryparser
> Affects Versions: 6.6
> Environment: Windows and Linux
> Reporter: Rohit Balekundri
> Priority: Critical
> Labels: features
>
> 1. I found all records are showing result if we pass value 'a' or 'A' as
> search value along with either LocationCode=1 OR CollectionObjectID=1. Only
> seems to be happening for the character a. I feel it's having similar issue
> in older Lucene version (Ex:5.3) as well. It's Lucene code after making query
> it's returning all records.
> 2. We have two solutions for above existing problem.
> a) Either to allow to show all records if user enters 'a' or 'A' in search
> field. Not correct.
> b) Set value to "null" if user enters 'a' or 'A' in search field value and
> don't show any records. Example: LocationCode=1 and Category='A' then it
> should not show any records.
> But this has side effect about if real record exist with same criteria then
> it will not show that record.
> c) Test with other new releases from Lucene and search.
> But later i found even Lucene 6.6 is also having same bug.
> This bug was found by our USA team.
> It's very urgent, needed to be fixed from Lucene team.
> Kindly consider this bug on top priority.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]