Category Archives: Database

Remove/Delete/Drop a Property Value from a List/Array – Gremlin Query

Remove/Delete/Drop a Property Value from a List/Array – Gremlin Query

Remove/Delete/Drop a Property Value from a List/Array – Gremlin Query //Create Vertex graph.addVertex(label, ‘TEST_LABEL’, ‘id’, ‘12345’); //Add value1, value2, value3 in the property ‘test_property’ g.V().hasLabel(‘TEST_LABEL’).has(‘id’,’12345′).property(‘test_property’, ‘value1’); g.V().hasLabel(‘TEST_LABEL’).has(‘id’,’12345′).property(‘test_property’, ‘value2’); g.V().hasLabel(‘TEST_LABEL’).has(‘id’,’12345′).property(‘test_property’, ‘value3’); //Drop the value ‘value2’ alone from the property ‘test_field’ g.V().hasLabel(‘TEST_LABEL’).has(‘id’,’12345′) .properties(‘test_property’).hasValue(‘value2’).drop(); Note that the property test_property is a multiple cardinality string data type. Related Links

Elasticsearch Geo-Shape Slow Indexing Performance – Solved

Elasticsearch Geo-Shape Slow Indexing Performance - Solved

Elasticsearch Geo-Shape Slow Indexing Performance – Solved

Elasticsearch Geo-Shape Slow Indexing Performance - Solved

           We were using Hosted Elasticsearch 1.4.4 to index geo-shape data with the following field mapping. { “geoShapeField”: {     “type”: “geo_shape”,        “tree”: “quadtree”,        “tree_levels”: 26 //Or use precision: “1m”,        “distance_error_pct”: 0.025 // Optional, 0.025 is default } }      … Read More »

cannot change DocValues type from SORTED to SORTED_SET – DataStax Graph – Titan – Solr

cannot change DocValues type from SORTED to SORTED_SET – DataStax Graph – Titan – Solr

Are you facing these errors??? cannot change docvalues type from sorted_set to sorted for field field_name cannot change docvalues type from sorted to sorted_set for field field_name No worries. We have the solution. First of all we need to know what DocValues means in Solr. You will find a lot of information in the internet. Now… Read More »