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

Vikrant Navalgund commented on BLUR-193:
----------------------------------------

Hi Rahul,
Are you still seeing this issue? I tried with the shell and I am getting the 
correct response.

My shell commands:
blur (default)> list
employee

blur (default)> stats employee
Row Count    : 1
Record Count : 2
Table Size   : 3.312 KB

blur (default)> describe employee
cluster                          : default
name                             : employee
enabled                          : true
tableUri                         : /data/blur/tables/employee
shardCount                       : 4
readOnly                         : false
columnPreCache                   : null
blockCaching                     : true
blockCachingFileTypes            : null
tableProperties                  : null
strictTypes                      : false
defaultMissingFieldType          : text
defaultMissingFieldLessIndexing  : true
defaultMissingFieldProps         : null

blur (default)> schema employee
Schema(table:employee, families:{values={other=ColumnDefinition(family:values, 
columnName:other, subColumnName:null, fieldLessIndexed:true, fieldType:text, 
properties:{}), suburb=ColumnDefinition(family:values, columnName:suburb, 
subColumnName:null, fieldLessIndexed:true, fieldType:text, properties:{}), 
city=ColumnDefinition(family:values, columnName:city, subColumnName:null, 
fieldLessIndexed:true, fieldType:text, properties:{}), 
name=ColumnDefinition(family:values, columnName:name, subColumnName:null, 
fieldLessIndexed:true, fieldType:text, properties:{})}})
employee
family : values
        column   : city
                fieldType : text
        column   : name
                fieldType : text
        column   : other
                fieldType : text
        column   : suburb
                fieldType : text

blur (default)> query employee +<values.name:vikrant>
 - Results Summary -
    total : 1
    time  : 8.053 ms
-----------------------------------------------------------------------------------------------------------------------------------------------
      hit : 0
    score : 1.1952736377716064
       id : 1
 recordId : 1
   family : values
     name : vikrant
     city : sydney
     suburb : xxxxx
 recordId : 2
   family : values
     name : vikrant
     other : xyz
     city : sydney
     suburb : xxxxx
-----------------------------------------------------------------------------------------------------------------------------------------------
 - Results Summary -
    total : 1
    time  : 8.053 ms
blur (default)>

I also traced through the shard server query method, it looks correct.
Can you give us more context.

Regards,
Vikrant

> When searching directly on a shard server, the current code is fetching the 
> row twice. We should only be fetching it once.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BLUR-193
>                 URL: https://issues.apache.org/jira/browse/BLUR-193
>             Project: Apache Blur
>          Issue Type: Improvement
>          Components: Blur
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Rahul Challapalli
>            Priority: Minor
>             Fix For: 0.3.0
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to