geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-2952) gfsh doesn't support exact match lucene queries
Date Sat, 17 Jun 2017 18:04:33 GMT

     [ https://issues.apache.org/jira/browse/GEODE-2952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anthony Baker closed GEODE-2952.
--------------------------------

> gfsh doesn't support exact match lucene queries
> -----------------------------------------------
>
>                 Key: GEODE-2952
>                 URL: https://issues.apache.org/jira/browse/GEODE-2952
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Barry Oglesby
>            Assignee: David Anuta
>             Fix For: 1.2.0
>
>
> This command:
> {noformat}
> gfsh>search lucene --name=index --region=data --defaultField=Resolution_Description
--queryStrings='Police Dept'
> {noformat}
> Runs this lucene query:
> {noformat}
> Resolution_Description:police Resolution_Description:dept
> {noformat}
> I also tried this command which ran the same lucene query as above:
> {noformat}
> gfsh>search lucene --name=index --region=data --defaultField=Resolution_Description
--queryStrings='\"Police Dept\"'
> {noformat}
> The java API supports exact match queries with "" around the queryString. Doing this
causes this lucene query to be run:
> {noformat}
> Resolution_Description:"police dept"
> {noformat}



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

Mime
View raw message