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

ASF GitHub Bot commented on GEODE-2952:
---------------------------------------

Github user dihardman commented on the issue:

    https://github.com/apache/geode/pull/545
  
    +1 Looks good!
    
    On Fri, May 26, 2017 at 3:15 PM, Karen Miller <notificati...@github.com>
    wrote:
    
    > @DivineEnder <https://github.com/divineender> @upthewaterspout
    > <https://github.com/upthewaterspout> @boglesby
    > <https://github.com/boglesby> @nabarunnag <https://github.com/nabarunnag>
    > @ladyVader <https://github.com/ladyvader> @dihardman
    > <https://github.com/dihardman>
    > Please review.
    > ------------------------------
    > You can view, comment on, or merge this pull request online at:
    >
    >   https://github.com/apache/geode/pull/545
    > Commit Summary
    >
    >    - GEODE-2952 document quoting of exact match Lucene queries
    >
    > File Changes
    >
    >    - *M* geode-docs/tools_modules/gfsh/command-pages/search.html.md.erb
    >    <https://github.com/apache/geode/pull/545/files#diff-0> (15)
    >
    > Patch Links:
    >
    >    - https://github.com/apache/geode/pull/545.patch
    >    - https://github.com/apache/geode/pull/545.diff
    >
    > —
    > You are receiving this because you were mentioned.
    > Reply to this email directly, view it on GitHub
    > <https://github.com/apache/geode/pull/545>, or mute the thread
    > 
<https://github.com/notifications/unsubscribe-auth/AUMy_YbtevYMYHZ6sQBDbkkx7zmbNK51ks5r908IgaJpZM4NoHBn>
    > .
    >



> 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.3.15#6346)

Reply via email to