The Solr built-in UpdateRequestHandler supports several formats of input data. It delegates the actual data loading to a specific ContentStreamLoader, depending on the content type of the incoming request (i.e. the Content-type header of the HTTP request). Currently, these are the available content types declared in the UpdateRequestHandler class:
application/xml or text/xmlapplication/json or text/jsonapplication/csv or text/csvapplication/javabin
So, a client has several options to send its data to...
In this post I will illustrate the integration tests infrastructure I used for the jena-nosql project on my GitHub account.
This article has been "copied" from the project Wiki, you can find the original content here.
The core of the project itself is not associated with a specific storage, so a set of integration tests that run towards a (mini)instance of a not-well-known target storage is required...
Few days ago I started this project on github.
The overall design rounds around the Abstract Factory design pattern .
As you can see from the following diagram, the StorageLayerFactory class plays the role of the AbstractFactory and therefore defines the contract that each concrete implementor (i.e. family) must provide in order to create concrete products for a specific kind of storage.
On top of that, each binding...
Just a brief riepilogue of what are the missing points :
- When a peer is in "Closed" state and receives a START signal it must
take a I-Snd-Conn-Req action : this is currently a missing point;
change its state to Wait-Conn-Ack : we did that in the last episode :)
- When a peer is in "Closed" state and receives a R-Conn-CER signal it must :