lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Balekundri (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENE-7932) Search record with field value='a' or 'A' returns all records along with one more field value
Date Tue, 22 Aug 2017 07:43:00 GMT

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

Rohit Balekundri edited comment on LUCENE-7932 at 8/22/17 7:42 AM:
-------------------------------------------------------------------

Please find attached mail and also test scenarios and queries I used to test scenarios.
I am directly using Lucene code. I am not using any third party tool/software.
If any information required please let me know.
Note: LuceneQueryTest.java  attached and Scenarios are explained in mail attached.


was (Author: mbalekundri):
Please find attached mail and also test scenarios and queries I used to test scenarios.
I am directly using Lucene code. I am not using any third party tool/software.
If any information required please let me know.

> 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/search
>    Affects Versions: 5.3, 6.6
>         Environment: Windows and Linux
>            Reporter: Rohit Balekundri
>              Labels: features
>         Attachments: LUCENE-7932 Search record with field value 'a' or 'A' returns all
records along with one more field value.msg, LuceneQueryTest.java
>
>
> Hi Lucene Team,
> Here I explained more about issue facing after querying using org.apache.lucene.search.IndexSearcher
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
> I faced above issue in Lucene 5.3.
> Later I found even Lucene 6.6 is also having same issue.



--
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


Mime
View raw message