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

Suma Shivaprasad commented on ATLAS-1041:
-----------------------------------------

Verified from logs that only mixed indexes are created for __state

2016-07-21 15:47:10,557 INFO  - [main:] ~ Indexes do not exist, Creating 
indexes for titanGraph. (GraphBackedSearchIndexer:98)
2016-07-21 15:47:11,595 DEBUG - [main:] ~ Creating backing index for property 
__guid of type java.lang.String  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,653 DEBUG - [main:] ~ Created backing index for property 
__guid of type java.lang.String  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,653 DEBUG - [main:] ~ Creating composite index for property 
__guid of type java.lang.String  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,657 DEBUG - [main:] ~ Created composite index for property 
__guid of type java.lang.String  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,659 DEBUG - [main:] ~ Creating backing index for property 
__timestamp of type java.lang.Long  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,668 DEBUG - [main:] ~ Created backing index for property 
__timestamp of type java.lang.Long  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,668 DEBUG - [main:] ~ Creating composite index for property 
__timestamp of type java.lang.Long  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,672 DEBUG - [main:] ~ Created composite index for property 
__timestamp of type java.lang.Long  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,674 DEBUG - [main:] ~ Creating backing index for property 
__state of type java.lang.String  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,680 DEBUG - [main:] ~ Created backing index for property 
__state of type java.lang.String  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,683 DEBUG - [main:] ~ Creating backing index for property 
__modificationTimestamp of type java.lang.Long  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,690 DEBUG - [main:] ~ Created backing index for property 
__modificationTimestamp of type java.lang.Long  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,690 DEBUG - [main:] ~ Creating composite index for property 
__modificationTimestamp of type java.lang.Long  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,693 DEBUG - [main:] ~ Created composite index for property 
__modificationTimestamp of type java.lang.Long  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,695 DEBUG - [main:] ~ Creating backing index for property 
__typeName of type java.lang.String  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,702 DEBUG - [main:] ~ Created backing index for property 
__typeName of type java.lang.String  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,702 DEBUG - [main:] ~ Creating composite index for property 
__typeName of type java.lang.String  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,706 DEBUG - [main:] ~ Created composite index for property 
__typeName of type java.lang.String  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,709 DEBUG - [main:] ~ Creating composite index for property 
__superTypeNames of type java.lang.String  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,712 DEBUG - [main:] ~ Created composite index for property 
__superTypeNames of type java.lang.String  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,715 DEBUG - [main:] ~ Creating composite index for property 
__traitNames of type java.lang.String  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,718 DEBUG - [main:] ~ Created composite index for property 
__traitNames of type java.lang.String  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,728 INFO  - [main:] ~ Created mixed index for entityText 
(GraphBackedSearchIndexer:152)
2016-07-21 15:47:11,732 DEBUG - [main:] ~ Creating backing index for property 
__type.name of type java.lang.String  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,738 DEBUG - [main:] ~ Created backing index for property 
__type.name of type java.lang.String  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,738 DEBUG - [main:] ~ Creating composite index for property 
__type.name of type java.lang.String  (GraphBackedSearchIndexer:341)
2016-07-21 15:47:11,742 DEBUG - [main:] ~ Created composite index for property 
__type.name of type java.lang.String  (GraphBackedSearchIndexer:349)
2016-07-21 15:47:11,744 DEBUG - [main:] ~ Creating backing index for property 
__type of type java.lang.String  (GraphBackedSearchIndexer:356)
2016-07-21 15:47:11,751 DEBUG - [main:] ~ Created backing index for property 
__type of type java.lang.String  (GraphBackedSearchIndexer:359)
2016-07-21 15:47:11,752 DEBUG - [main:] ~ Creating composite index for property 
__type of type java.lang.String  (GraphBackedSearchIndexer:341)

> Add Mixed Index for Entity State property
> -----------------------------------------
>
>                 Key: ATLAS-1041
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1041
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating, 0.8-incubating
>            Reporter: Suma Shivaprasad
>            Assignee: Suma Shivaprasad
>            Priority: Critical
>             Fix For: 0.8-incubating
>
>         Attachments: ATLAS-1041.1.patch, ATLAS-1041.patch
>
>
> We are using Entity State to query both during writes for unique key checks 
> and DSL searches. Need to index this to improve performance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to