Lookup
The Lookup package provides classes to acquire and evaluate specific details and rich content associated with a single entity. The main features are executed within Get Entity Detail.
Please see the API reference for the main classes related to Lookup.
Get Entity Detail
This feature retrieves detailed information about an entity. The id is usually retrieved from a previous entity search results list. The entity details will be dependent on the entity type which are an address or POI. Generally, the entity details will be evaluated to determine entity detail results type and developer will build logic based on entity detail results type.
Key methods
Method | Details |
---|---|
setEntityIds(List |
The unique id list of the address or POI entity |
Sample code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
Response example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|
Get Address Detail with Linked Entity
This feature retrieves detailed information about an Address and returns the related entities at the same time. This feature does not take effect when retrieving IDs of multiple entities.
Key methods
Method | Details |
---|---|
setEntityIds(List |
The unique id of the Address |
setFacetParameters(FacetParameters facetParameters) | Used to trigger the return of some additional facet attributes |
Sample code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Response example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
|