## configuration_json

### discovery_method

| Discovery-Wege | discovery_method  | Anmerkung |
|:---------------|:------------------|:----------|
| Qdrant         | VECTOR_SIMILARITY |           |
| xTree          | -                 |           |
| Lobid/GND      | reconciliation-api|           |
| Local Store    | exact-with-token-fallback |           |




## Test Rx Discovery Testbench

### Qdrant
```JSON
{
	"discovery_method": "VECTOR_SIMILARITY",
	"discovery_strategy": {
		"steps": [
			{
				"sequence": 0,
				"adapter_id": "vector-qdrant:qdrant-marburg",
				"method": "VECTOR_SIMILARITY",
				"condition": "ALWAYS"
			}
		]
	},
	"adapter_id": "vector-qdrant:qdrant-marburg",
	"testbench_discovery_key": "qdrant",
	"context_type_uris": [
		"https://reconcilix.vocnet.org/context/0001"
	],
	"context_roles": [
		"item_discovery"
	],
	"language": "*",
	"offset": 0,
	"limit": 1,
	"candidate_limit": 10,
	"discovery_options": {
		"rerank": true,
		"outputLanguage": "de"
	}
}

```

### xTree
```JSON
{
  "discovery_method": "hierarchy-search",
  "discovery_strategy": {
    "steps": [
      {
        "sequence": 0,
        "adapter_id": "xtree-json",
        "method": "hierarchy-search",
        "condition": "ALWAYS"
      }
    ]
  },
  "adapter_id": "xtree-json",
  "testbench_discovery_key": "xtree",
  "context_type_uris": [
    "https://reconcilix.vocnet.org/context/0001"
  ],
  "context_roles": [
    "item_discovery",
    "structural_context_discovery"
  ],
  "language": "*",
  "offset": 0,
  "limit": 1,
  "candidate_limit": 10,
  "discovery_options": [
  ]
}
```

### GND
```JSON
{
	"discovery_method": "reconciliation-api",
	"discovery_strategy": {
		"steps": [
			{
				"sequence": 0,
				"adapter_id": "lobid-gnd:subject-heading",
				"method": "reconciliation-api",
				"condition": "ALWAYS"
			}
		]
	},
	"adapter_id": "lobid-gnd:subject-heading",
	"testbench_discovery_key": "lobid-gnd",
	"context_type_uris": [
		"https://reconcilix.vocnet.org/context/0001"
	],
	"context_roles": [
		"item_discovery"
	],
	"language": "*",
	"offset": 0,
	"limit": 1,
	"candidate_limit": 10,
	"discovery_options": [
	]
}

```


### Local Store
- funktioniert mit einem Datensatz
```JSON
{
  "discovery_method": "exact-with-token-fallback",
  "discovery_strategy": {
    "steps": [
      {
        "sequence": 0,
        "adapter_id": "local-reconciliation-store:matcult-the_vocnet_org_00000019",
        "method": "exact-with-token-fallback",
        "condition": "ALWAYS"
      }
    ]
  },
  "adapter_id": "local-reconciliation-store:matcult-the_vocnet_org_00000019",
  "testbench_discovery_key": "local-store",
  "context_type_uris": [
    "https://reconcilix.vocnet.org/context/0001"
  ],
  "context_roles": [
    "item_discovery",
    "structural_context_discovery"
  ],
  "language": "*",
  "offset": 0,
  "limit": 1,
  "candidate_limit": 10,
  "discovery_options": [
  ]
}

```



















