You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rohit Balekundri (JIRA)" <ji...@apache.org> on 2017/08/21 05:43:01 UTC

[jira] [Comment Edited] (LUCENE-7932) Search record with field value='a' or 'A' returns all records along with one more field value

    [ https://issues.apache.org/jira/browse/LUCENE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134699#comment-16134699 ] 

Rohit Balekundri edited comment on LUCENE-7932 at 8/21/17 5:42 AM:
-------------------------------------------------------------------

Hi Steve,
I updated exact relevant steps in description on how we are getting issue after making query from org.apache.lucene.search.IndexSearcher. This class is found in lucene-core-5.3.jar



was (Author: mbalekundri):
Hi Steve,
I updated exact steps in description on how we are getting issue after making query from org.apache.lucene.search.IndexSearcher. This class is found in lucene-core-5.3.jar


> 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: 5.3, 6.6
>         Environment: Windows and Linux
>            Reporter: Rohit Balekundri
>            Priority: Critical
>              Labels: features
>
> Hi Lucene Team,
> I would like to explain more on about issue facing after querying using QueryParser API.
> Here I am just giving examples of our project with field names (Not related with Lucene):
> In our document which needs to be archived having key fields and non-key fields.
> A> Key fields: 
> 1. LocationCode (DataType=long)
> 2. CollectionObjectID (DataType=long)
> B> Non-key fields
> Category (DataType=string)
> Steps we followed:
> 1. Step 1: We stored multiple document records with category values as below in index files.
>      LocationCode = 1  Category =b
>      LocationCode = 2  Category =BC
>      LocationCode =3  Category =bcd
> 2. In Step 2: we query for records and we pass query parameters as below.
>     a) LocationCode=1 and  Category =a  
>          Result= all records displayed
>     b) LocationCode=1 and  Category =A  result= all records displayed
>          Result= all records displayed
> I faced above issue in Lucene 5.3.
> Llater I found even Lucene 6.6 is also having same issue.
> Kindly consider this bug on top priority.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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