Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Makopo/6754f41b60a7260618441ea9fe3281dd to your computer and use it in GitHub Desktop.
Save Makopo/6754f41b60a7260618441ea9fe3281dd to your computer and use it in GitHub Desktop.
example: com.marklogic.client.example.cookbook.ClientCreator
12:40:36.743 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:36.761 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:37.061 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/text.txt
12:40:37.062 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/text.txt document in transaction null
Connected to localhost:8000 as rest-writer
12:40:38.023 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/text.txt
12:40:38.023 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/text.txt in transaction null
12:40:38.029 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:38.029 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentWrite
12:40:38.030 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:38.030 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:38.078 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:38.078 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
(Shortcut) Wrote /example/flipper.xml content
12:40:38.500 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:38.501 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
(Strong Typed) Wrote /example/flipper.xml content
12:40:38.508 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:38.508 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:38.513 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:38.513 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentWriteServerURI
12:40:38.514 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:38.514 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:38.555 [main] INFO c.m.client.impl.DocumentManagerImpl - Creating content
12:40:38.555 [main] DEBUG c.m.client.impl.JerseyServices - Sending new document in transaction null
Wrote /example/flipper.xml content, and got back descriptor with uri 567525549646808023.xml.
12:40:38.567 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting 567525549646808023.xml
12:40:38.567 [main] DEBUG c.m.client.impl.JerseyServices - Deleting 567525549646808023.xml in transaction null
12:40:38.573 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:38.574 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentRead
12:40:38.574 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:38.574 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:38.617 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:38.618 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:38.618 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:38.624 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:38.624 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:38.659 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:38.659 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/flipper.xml in transaction null
12:40:39.059 [main] INFO com.marklogic.client.io.DOMHandle - Parsing DOM document from input stream
(Shortcut) Read /example/flipper.xml content with the <product/> root element
12:40:39.133 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:39.133 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/flipper.xml in transaction null
12:40:39.138 [main] INFO com.marklogic.client.io.DOMHandle - Parsing DOM document from input stream
(Strong Typed) Read /example//example/flipper.xml content with the <product/> root element for the Flipper product
12:40:39.201 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:39.203 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:39.208 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.208 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentMetadataWrite
12:40:39.209 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.209 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.245 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:39.245 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml multipart document in transaction null
Wrote /example/flipper.xml metadata and content
12:40:39.354 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:39.354 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:39.359 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.359 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentMetadataRead
12:40:39.360 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.360 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.386 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:39.386 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml multipart document in transaction null
12:40:39.397 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:39.397 [main] DEBUG c.m.client.impl.JerseyServices - Getting multipart for /example/flipper.xml in transaction null
12:40:39.494 [main] INFO com.marklogic.client.io.DOMHandle - Parsing metadata structure from input stream
12:40:39.506 [main] INFO com.marklogic.client.io.DOMHandle - Parsing DOM document from input stream
Read /example/flipper.xml metadata and content in the 'real-estate' collection with the <product/> root element
12:40:39.507 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:39.507 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:39.512 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.512 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentDelete
12:40:39.513 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.513 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.536 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:39.536 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:39.546 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:39.546 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
Deleted the /example/flipper.xml document
12:40:39.551 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.551 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentFormats
12:40:39.551 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.551 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.575 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/mlfavicon.png
12:40:39.576 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/mlfavicon.png document in transaction null
12:40:39.585 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/mlfavicon.png
12:40:39.585 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/mlfavicon.png in transaction null
12:40:39.590 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/mlfavicon.png
12:40:39.590 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/mlfavicon.png in transaction null
Wrote, read, and deleted /example/mlfavicon.png content with 3322 bytes in the binary format
12:40:39.595 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/siccodes.json
12:40:39.595 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/siccodes.json document in transaction null
12:40:39.638 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/siccodes.json
12:40:39.638 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/siccodes.json in transaction null
12:40:39.644 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/siccodes.json
12:40:39.644 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/siccodes.json in transaction null
Wrote, read, and deleted /example/siccodes.json content with 33154 bytes in the JSON format
12:40:39.649 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/producturis.txt
12:40:39.649 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/producturis.txt document in transaction null
12:40:39.655 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/producturis.txt
12:40:39.656 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/producturis.txt in transaction null
12:40:39.663 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/producturis.txt
12:40:39.663 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/producturis.txt in transaction null
Wrote, read, and deleted /example/producturis.txt content with 300 bytes in the text format
12:40:39.673 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:39.673 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:39.679 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:39.679 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/flipper.xml in transaction null
12:40:39.684 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:39.684 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
Wrote, read, and deleted /example/flipper.xml content with 314 bytes in the XML format
12:40:39.689 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.689 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentOutputStream
12:40:39.689 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.689 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.706 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.706 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.706 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.707 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.707 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.719 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:39.719 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
Wrote /example/flipper.xml content
12:40:39.729 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:39.729 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:39.734 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.734 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.JAXBDocument
12:40:39.762 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.762 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.785 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/FashionForward.xml
12:40:39.785 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/FashionForward.xml document in transaction null
12:40:39.796 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/FashionForward.xml
12:40:39.796 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/FashionForward.xml in transaction null
12:40:39.812 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/FashionForward.xml
12:40:39.812 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/FashionForward.xml in transaction null
<?xml version="1.0" encoding="UTF-8"?>
<product>
<description>(Shortcut) Creates demand with high prices, hours from midnight to dawn, and frequent moves</description>
<industry>Retail</industry>
<name>FashionForward</name>
</product>
12:40:39.816 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/FashionForward.xml
12:40:39.816 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/FashionForward.xml in transaction null
12:40:39.821 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.821 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:39.821 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.821 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:39.846 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/FashionForward.xml
12:40:39.847 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/FashionForward.xml document in transaction null
12:40:39.855 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/FashionForward.xml
12:40:39.855 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/FashionForward.xml in transaction null
12:40:39.861 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/FashionForward.xml
12:40:39.861 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/FashionForward.xml in transaction null
<?xml version="1.0" encoding="UTF-8"?>
<product>
<description>(Strong Typed) Creates demand with high prices, hours from midnight to dawn, and frequent moves</description>
<industry>Retail</industry>
<name>FashionForward</name>
</product>
12:40:39.865 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/FashionForward.xml
12:40:39.865 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/FashionForward.xml in transaction null
12:40:39.870 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:39.870 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
Wrote, read, and deleted com.marklogic.client.example.cookbook.JAXBDocument$Product using JAXB
example: com.marklogic.client.example.cookbook.QueryOptions
12:40:39.871 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:39.871 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:39.895 [main] DEBUG c.m.client.impl.JerseyServices - Putting /config/query/products
12:40:40.377 [main] DEBUG c.m.client.impl.JerseyServices - Getting /config/query/products
12:40:40.383 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /config/query/products
(Shortcut) Wrote, read, and deleted 'products' query options:
<search:options xmlns:search="http://marklogic.com/appservices/search">
<search:constraint name="industry">
<search:value>
<search:element name="industry" ns=""/>
</search:value>
</search:constraint>
</search:options>
12:40:40.388 [main] DEBUG c.m.client.impl.JerseyServices - Putting /config/query/products
12:40:40.402 [main] DEBUG c.m.client.impl.JerseyServices - Getting /config/query/products
12:40:40.407 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /config/query/products
(Strong Typed) Wrote, read, and deleted 'products' query options:
<search:options xmlns:search="http://marklogic.com/appservices/search">
<search:constraint name="industry">
<search:value>
<search:element name="industry" ns=""/>
</search:value>
</search:constraint>
</search:options>
12:40:40.412 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:40.412 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.StringSearch
12:40:40.413 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:40.413 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:40.435 [main] DEBUG c.m.client.impl.JerseyServices - Putting /config/query/products
12:40:40.450 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:40.450 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:40.450 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:40.450 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:40.472 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/curbappeal.xml
12:40:40.472 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/curbappeal.xml document in transaction null
12:40:40.483 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:40.483 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:40.491 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/justintime.xml
12:40:40.491 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/justintime.xml document in transaction null
12:40:40.502 [main] DEBUG c.m.client.impl.JerseyServices - Searching for neighborhood industry:"Real Estate"
Matched 2 documents with 'neighborhood industry:"Real Estate"'
Listing 2 documents:
Matched 2 locations in /example/flipper.xml with 24576 score:
[Real Estate]
Discovers correlations and trending criteria.
Finds [neighborhoods] matching specified criteria.
Sends alert when a property qualifies for criteria.
Matched 2 locations in /example/curbappeal.xml with 24576 score:
[Real Estate]
Provides heatmap of income demographics for selected [neighborhoods].
Includes leaderboard for weekly orders on remodel materials including color schemes.
12:40:41.309 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.309 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:41.309 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.309 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:41.319 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.319 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.321 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.322 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.322 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.322 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.338 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/curbappeal.xml
12:40:41.338 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/curbappeal.xml in transaction null
12:40:41.345 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:41.345 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:41.349 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/justintime.xml
12:40:41.349 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/justintime.xml in transaction null
12:40:41.356 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /config/query/products
12:40:41.360 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.360 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.StructuredSearch
12:40:41.361 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.361 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:41.394 [main] DEBUG c.m.client.impl.JerseyServices - Putting /config/query/products
12:40:41.410 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.410 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:41.410 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.410 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:41.433 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/curbappeal.xml
12:40:41.433 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/curbappeal.xml document in transaction null
12:40:41.444 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:41.444 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:41.450 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/justintime.xml
12:40:41.450 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/justintime.xml document in transaction null
12:40:41.462 [main] DEBUG c.m.client.impl.JerseyServices - Searching for structure <query xmlns="http://marklogic.com/appservices/search" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:search="http://marklogic.com/appservices/search" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><and-query><term-query><text>neighborhoods</text></term-query><value-constraint-query><constraint-name>industry</constraint-name><text>Real Estate</text></value-constraint-query></and-query></query>
Matched 2 documents with structured query
Listing 2 documents:
Matched 2 locations in /example/flipper.xml with 24576 score:
[Real Estate]
Discovers correlations and trending criteria.
Finds [neighborhoods] matching specified criteria.
Sends alert when a property qualifies for criteria.
Matched 2 locations in /example/curbappeal.xml with 24576 score:
[Real Estate]
Provides heatmap of income demographics for selected [neighborhoods].
Includes leaderboard for weekly orders on remodel materials including color schemes.
12:40:41.477 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.477 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:41.477 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.477 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:41.499 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/curbappeal.xml
12:40:41.499 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/curbappeal.xml in transaction null
12:40:41.515 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:41.516 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:41.523 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/justintime.xml
12:40:41.523 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/justintime.xml in transaction null
12:40:41.527 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /config/query/products
12:40:41.532 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.532 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.RawCombinedSearch
12:40:41.532 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.532 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:41.555 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/curbappeal.xml
12:40:41.555 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/curbappeal.xml document in transaction null
12:40:41.564 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:41.564 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:41.570 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/justintime.xml
12:40:41.570 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/justintime.xml document in transaction null
12:40:41.586 [main] DEBUG c.m.client.impl.JerseyServices - Raw search
(Strong Typed) Matched 2 documents with structured query
Listing 2 documents:
Matched 2 locations in /example/flipper.xml with 22528 score:
[Real Estate]
Discovers correlations and trending criteria.
Finds [neighborhoods] matching specified criteria.
Sends alert when a property qualifies for criteria.
Matched 2 locations in /example/curbappeal.xml with 22528 score:
[Real Estate]
Provides heatmap of income demographics for selected [neighborhoods].
Includes leaderboard for weekly orders on remodel materials including color schemes.
example: com.marklogic.client.example.cookbook.SearchResponseTransform
12:40:41.608 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.608 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:41.631 [main] DEBUG c.m.client.impl.JerseyServices - Putting /config/query/products
12:40:41.647 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.647 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:41.647 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:41.647 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:41.655 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.656 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.656 [Finalizer] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:41.656 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.656 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.656 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.656 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:41.676 [main] INFO c.m.c.impl.TransformExtensionsImpl - Writing transform source for search2html
12:40:41.676 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/transforms/search2html
Installed the search2html transform
12:40:42.916 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:42.916 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:42.916 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:42.916 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:42.945 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/curbappeal.xml
12:40:42.945 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/curbappeal.xml document in transaction null
12:40:44.135 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:44.135 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:44.142 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/justintime.xml
12:40:44.142 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/justintime.xml document in transaction null
12:40:44.148 [main] DEBUG c.m.client.impl.JerseyServices - Searching for neighborhood industry:"Real Estate"
Matched documents with 'neighborhood industry:"Real Estate"'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:search="http://marklogic.com/appservices/search" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Search Results</title>
</head>
<body><table><tbody>
<tr>
<th align="left">
URI
</th>
<th align="left">
Score
</th>
<th align="left">
Match
</th>
</tr>
<tr>
<td align="left">/example/flipper.xml</td>
<td align="left">20480</td>
<td align="left">
Real Estate
Discovers correlations and trending criteria.
Finds neighborhoods matching specified criteria.
Sends alert when a property qualifies for criteria.
</td>
</tr>
<tr>
<td align="left">/example/curbappeal.xml</td>
<td align="left">20480</td>
<td align="left">
Real Estate
Provides heatmap of income demographics for selected neighborhoods.
Includes leaderboard for weekly orders on remodel materials including color schemes.
</td>
</tr>neighborhood industry:"Real Estate"PT0.003263SPT0.002083SPT0.36899S</tbody></table></body>
</html>
12:40:45.363 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:45.363 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:45.363 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:45.363 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:45.383 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/curbappeal.xml
12:40:45.383 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/curbappeal.xml in transaction null
12:40:45.389 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:45.389 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:45.394 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/justintime.xml
12:40:45.394 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/justintime.xml in transaction null
12:40:45.399 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /config/query/products
12:40:45.825 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:45.825 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.MultiStatementTransaction
12:40:45.826 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:45.826 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:45.846 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:45.846 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:45.857 [main] DEBUG c.m.client.impl.JerseyServices - Opening transaction
12:40:46.229 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:46.229 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/flipper.xml in transaction 16034626710889519627
12:40:46.619 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flapped.xml
12:40:46.619 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flapped.xml document in transaction 16034626710889519627
12:40:46.624 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:46.624 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction 16034626710889519627
12:40:46.629 [main] DEBUG c.m.client.impl.JerseyServices - Completing transaction 16034626710889519627 with commit
Moved document from flipper.xml to flapped.xml
12:40:46.634 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flapped.xml
12:40:46.634 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flapped.xml in transaction null
12:40:46.638 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:46.638 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentReadTransform
12:40:46.639 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:46.639 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:46.659 [main] INFO c.m.c.impl.TransformExtensionsImpl - Writing transform source for xml2html
12:40:46.659 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/transforms/xml2html
Installed the xml2html transform
12:40:47.937 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:47.937 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:47.937 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:47.937 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:47.966 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:47.966 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:49.071 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:49.071 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/flipper.xml in transaction null
Read /example/flipper.xml with transform
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Flipper</title>
</head>
<body><table><tbody>
<tr>
<td align="right"><i>Product</i></td>
<th align="left">Flipper</th>
</tr>
<tr>
<td align="right"><i>Industry</i></td>
<td>Real Estate</td>
</tr>
<tr>
<td align="right"><i>Description</i></td>
<td>Discovers correlations and trending criteria.
Finds neighborhoods matching specified criteria.
Sends alert when a property qualifies for criteria.
</td>
</tr>
</tbody></table></body>
</html>
12:40:50.045 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.045 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:50.045 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:50.046 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:50.053 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.054 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.055 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.056 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.056 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.056 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.072 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:50.072 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:50.078 [main] INFO c.m.c.impl.TransformExtensionsImpl - Deleting transform for xml2html
12:40:50.078 [main] DEBUG c.m.client.impl.JerseyServices - Deleting config/transforms/xml2html
12:40:50.493 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:50.493 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.DocumentWriteTransform
12:40:50.493 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:50.493 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:50.513 [main] INFO c.m.c.impl.TransformExtensionsImpl - Writing transform source for html2xhtml
12:40:50.513 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/transforms/html2xhtml
Installed the html2xhtml transform
12:40:52.322 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:52.322 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:52.322 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:52.322 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:52.342 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/sentiment.html
12:40:52.342 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/sentiment.html document in transaction null
Wrote /example/sentiment.html with transform
12:40:53.762 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/sentiment.html
12:40:53.762 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/sentiment.html in transaction null
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Mac OS X (vers 24 July 2007), see www.w3.org"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Sentiment Report</title>
</head>
<body>
<h1>Sentiment Report</h1>
<p>The outlook for the coming year is trending in a positive
direction.</p>
<p>Prospective buyers should <em>reevaluate</em> current
requirements on that basis.</p>
</body>
</html>
12:40:54.179 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:54.179 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:54.179 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:54.179 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:54.198 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/sentiment.html
12:40:54.198 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/sentiment.html in transaction null
12:40:54.204 [main] INFO c.m.c.impl.TransformExtensionsImpl - Deleting transform for html2xhtml
12:40:54.204 [main] DEBUG c.m.client.impl.JerseyServices - Deleting config/transforms/html2xhtml
12:40:54.611 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:54.612 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.OptimisticLocking
12:40:54.612 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:54.612 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:54.631 [main] INFO c.m.c.i.ServerConfigurationManagerImpl - Reading server configuration
12:40:54.631 [main] DEBUG c.m.client.impl.JerseyServices - Getting config/properties
12:40:55.702 [main] INFO c.m.c.i.ServerConfigurationManagerImpl - Writing server configuration
12:40:55.702 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/properties/null
enabled optimistic locking
12:40:55.719 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:55.719 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:55.719 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:55.719 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:55.738 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:55.738 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:55.744 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:55.744 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:55.745 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:55.745 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:55.745 [Finalizer] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:56.614 [main] INFO c.m.client.impl.DocumentManagerImpl - Reading metadata and content for /example/flipper.xml
12:40:56.614 [main] DEBUG c.m.client.impl.JerseyServices - Getting /example/flipper.xml in transaction null
12:40:57.026 [main] INFO com.marklogic.client.io.DOMHandle - Parsing DOM document from input stream
created /example/flipper.xml as version 14632836566143300
12:40:57.027 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:57.027 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:57.029 [main] INFO com.marklogic.client.io.DOMHandle - Serializing DOM document to output stream
12:40:57.047 [main] DEBUG c.m.client.impl.JerseyServices - Requesting head for /example/flipper.xml in transaction null
updated /example/flipper.xml as version 14632836570472240
12:40:57.055 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:57.055 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:57.060 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:57.060 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:40:57.060 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:57.060 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:57.079 [main] INFO c.m.c.i.ServerConfigurationManagerImpl - Reading server configuration
12:40:57.079 [main] DEBUG c.m.client.impl.JerseyServices - Getting config/properties
12:40:57.085 [main] INFO c.m.c.i.ServerConfigurationManagerImpl - Writing server configuration
12:40:57.085 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/properties/null
12:40:57.099 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:57.099 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.RawClientAlert
12:40:57.099 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:57.099 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:40:57.117 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/curbappeal.xml
12:40:57.117 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/curbappeal.xml document in transaction null
12:40:57.126 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/flipper.xml
12:40:57.126 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/flipper.xml document in transaction null
12:40:57.131 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/justintime.xml
12:40:57.131 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/justintime.xml document in transaction null
12:40:57.138 [main] DEBUG c.m.client.impl.JerseyServices - Putting /alert/rules/real-estate
12:40:59.010 [main] DEBUG c.m.client.impl.JerseyServices - Searching for neighborhoods in transaction {}
12:40:59.478 [main] INFO com.marklogic.client.io.DOMHandle - Parsing DOM document from input stream
12:40:59.511 [main] INFO c.m.client.alerting.RuleDefinition - Get element.
document criteria neighborhoods matched rule real-estate with metadata {correlate-with=/demographic-statistics?zipcode=}
12:40:59.511 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/curbappeal.xml
12:40:59.511 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/curbappeal.xml in transaction null
12:40:59.516 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/flipper.xml
12:40:59.516 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/flipper.xml in transaction null
12:40:59.520 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/justintime.xml
12:40:59.520 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/justintime.xml in transaction null
12:40:59.525 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /alert/rules/real-estate
12:40:59.530 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:40:59.530 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
example: com.marklogic.client.example.cookbook.ResourceExtension
12:40:59.531 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:40:59.531 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:40:59.551 [main] INFO c.m.c.impl.ResourceExtensionsImpl - Writing resource services source for dictionary
12:40:59.551 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/resources/dictionary
(Shortcut) Installed the resource extension on the server
12:40:59.999 [main] INFO c.m.c.impl.ResourceExtensionsImpl - Writing resource services source for dictionary
12:41:00.000 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/resources/dictionary
(Strong Typed) Installed the resource extension on the server
12:41:01.583 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:41:01.583 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:41:01.583 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:41:01.583 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer
12:41:01.603 [main] INFO c.m.client.impl.DocumentManagerImpl - Writing content for /example/metasyn.xml
12:41:01.603 [main] DEBUG c.m.client.impl.JerseyServices - Sending /example/metasyn.xml document in transaction null
Created a dictionary on the server at /example/metasyn.xml
12:41:02.690 [main] DEBUG c.m.client.impl.JerseyServices - Getting resources/dictionary as null
12:41:03.114 [main] INFO com.marklogic.client.io.DOMHandle - Parsing DOM document from input stream
Checked the validity of the dictionary at /example/metasyn.xml: true
12:41:03.116 [main] DEBUG c.m.client.impl.JerseyServices - Getting resources/dictionary as application/xml
12:41:03.120 [main] INFO c.m.client.io.XMLStreamReaderHandle - Parsing StAX stream from input stream
Confirmed that 'biz' is not in the dictionary at /example/metasyn.xml
12:41:03.121 [main] DEBUG c.m.client.impl.JerseyServices - Getting resources/dictionary as application/xml
12:41:03.124 [main] INFO c.m.client.io.XMLStreamReaderHandle - Parsing StAX stream from input stream
Nearest matches for 'biz' in the dictionary at /example/metasyn.xml
baz
bar
12:41:03.125 [main] INFO c.m.client.impl.DocumentManagerImpl - Deleting /example/metasyn.xml
12:41:03.125 [main] DEBUG c.m.client.impl.JerseyServices - Deleting /example/metasyn.xml in transaction null
12:41:03.130 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:41:03.130 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
12:41:03.130 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000
12:41:03.130 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin
12:41:03.148 [main] INFO c.m.c.impl.ResourceExtensionsImpl - Deleting resource services for dictionary
12:41:03.148 [main] DEBUG c.m.client.impl.JerseyServices - Deleting config/resources/dictionary
12:41:03.554 [main] INFO c.m.client.impl.DatabaseClientImpl - Releasing connection
12:41:03.554 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment