@Test
    public void testPutPosition() {
        // Config of the following schema, derived Nov 2024, by SchemaTestCase.testDerivingPosition in the config-model
        //
        //                schema place {
        //
        //                    document place {
        //
        //                        field location type position {
        //                            indexing: attribute
        //                        }
        //                    }
        //                }
        IndexingProcessorTester tester = new IndexingProcessorTester("src/test/cfg3");

        DocumentType inputType = tester.getDocumentType("place");
        DocumentPut input = new DocumentPut(inputType, "id:ns:place::");
        input.getDocument().setFieldValue(inputType.getField("location"), PositionDataType.fromString("13;17"));

        Document output = ((DocumentPut)tester.process(input)).getDocument();
        assertEquals(595L, output.getFieldValue("location_zcurve").getWrappedValue());
    }
@author Simon Thoresen Hult
@author bratseth
docprocs/src/test/java/com/yahoo/docprocs/indexing/IndexingProcessorTestCase.java