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

ASF GitHub Bot commented on METRON-1577:
----------------------------------------

Github user merrimanr commented on the issue:

    https://github.com/apache/metron/pull/1031
  
    I tested this in full dev and found a small bug where the index.writer.name 
wasn't being passed to the REST app on startup.  The latest commit fixes that. 
    
    I was able to verify the 2 cases @cestella mentioned.  For the first test I 
update the bro sensor config:
    ```
    {
      "hdfs": {
        "index": "bro",
        "batchSize": 5,
        "enabled": true
      },
      "elasticsearch": {
        "index": "bro",
        "batchSize": 5,
        "enabled": true
      },
      "solr": {
        "index": "bro_2",
        "batchSize": 5,
        "enabled": true
      }
    }
    ```
    A search result now looks like:
    ```
    {
      "id": "44fc8391-474d-4b8e-a375-52f748735b2f",
      "source": {
        ...
        "source.type": "bro"
      },
      "score": 0,
      "index": "bro_2"
    }
    ```
    For the next test I deleted the snort indexing config.  A search result 
against that collection now looks like:
    ```
    {
      "id": "71a0ca1a-b3c2-414b-9fde-c31e8dd5544a",
      "source": {
        ...
        "source.type": "snort"
      },
      "score": 0,
      "index": "snort"
    }
    ```


> Solr searches don't include the index of the result
> ---------------------------------------------------
>
>                 Key: METRON-1577
>                 URL: https://issues.apache.org/jira/browse/METRON-1577
>             Project: Metron
>          Issue Type: Sub-task
>            Reporter: Ryan Merriman
>            Assignee: Ryan Merriman
>            Priority: Major
>
> For example
> {code:java}
> { 
>   "total": 370, 
>   "results": [
>     { 
>       "id": "1dcf6e7e-9d16-477b-990e-e734bd400101",
>       "source": 
>         { 
>           "guid": "1dcf6e7e-9d16-477b-990e-e734bd400101" 
>         }, 
>       "score": 0, 
>       "index": null 
>     } 
>   ], 
>   "facetCounts": null 
> }{code}
> We should also make sure that any other endpoints (if there are any) that 
> return index, are populated properly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to