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

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

GitHub user karensmolermiller opened a pull request:

    https://github.com/apache/geode/pull/542

    GEODE-2951 Remove --pageSize from docs of gfsh search lucene

    The code commit to remove this gfsh search lucene command line option has 
already been completed.  This PR updates the docs to remove the option from the 
command reference page.
    
    @boglesby @davebarnes97 @joeymcallister @dihardman @upthewaterspout 
@nabarunnag @DivineEnder @ladyVader @jhuynh1 and any other interested parties
    Can a couple of you do an ultra-quick review of this simple change to the 
docs, so that it can be merged in for inclusion in a Geode 1.2 release?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/karensmolermiller/geode feature/GEODE-2951

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/542.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #542
    
----
commit aaf6b54606dddd7477e41bcafb3153a1b49c4eb6
Author: Karen Miller <kmil...@pivotal.io>
Date:   2017-05-26T17:54:58Z

    GEODE-2951 Remove --pageSize from docs of gfsh search lucene

----


> A gfsh lucene query specifying --pageSize fails with a NullPointerException
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-2951
>                 URL: https://issues.apache.org/jira/browse/GEODE-2951
>             Project: Geode
>          Issue Type: Bug
>          Components: docs, lucene
>            Reporter: Barry Oglesby
>            Assignee: Karen Smoler Miller
>             Fix For: 1.2.0
>
>
> A gfsh lucene query specifying {{--pageSize}} fails with a 
> NullPointerException:
> {noformat}
> gfsh>search lucene --name=index --region=data --queryStrings=NYPD 
> --defaultField=Agency --pageSize=10
> Could not process command due to GemFire error. An error occurred while 
> searching lucene index across the Geode cluster: null
> {noformat}
> This exception is logged in the locator.log:
> {noformat}
> [info 2017/05/18 12:42:22.317 PDT locator <RMI TCP Connection(2)-192.168.2.4> 
> tid=0x7f] null
> java.lang.NullPointerException
>       at 
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommands.displayResults(LuceneIndexCommands.java:476)
>       at 
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommands.searchIndex(LuceneIndexCommands.java:299)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {noformat}
> The same query without the {{--pageSize=10}} setting works fine.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to