Skip to content

Instantly share code, notes, and snippets.

View jprante's full-sized avatar
💤
Dormant

Jörg Prante jprante

💤
Dormant
View GitHub Profile
@jprante
jprante / server.log
Last active August 29, 2015 14:15
Wildfly 8.2 and XWiki 7 after fixing Restlet
2015-02-09 17:47:38,076 INFO [org.jboss.as.repository] (management-handler-thread - 5) JBAS014900: Content added at location /export/home/webapps/wildfly-8.2.0.Final/standalone/data/content/d4/daca507beb2dc319fafb2518a24b8a1749acd5/content
2015-02-09 17:47:38,085 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "xwiki.war" (runtime-name: "xwiki.war")
2015-02-09 17:48:58,419 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015960: Class Path entry commons-io-1.4.jar in /content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar does not point to a valid jar for a Class-Path reference.
2015-02-09 17:48:58,424 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015960: Class Path entry commons-cli-1.1.jar in /content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar does not point to a valid jar for a Class-Path reference.
2015-02-09 17:48:58,425 WARN [org.jboss.as.server.deployment] (M
Endpoint Beschreibung
/router Leitwegrecherche ohne Region
/router/bay Leitwegrecherche mit Priorität auf Region BAY
/router/baw Leitwegrecherche mit Priorität auf Region BAW
/router/ber Leitwegrecherche mit Priorität auf Region BER
/router/ham Leitwegrecherche mit Priorität auf Region HAM
/router/hes Leitwegrecherche mit Priorität auf Region HES
/router/nie Leitwegrecherche mit Priorität auf Region NIE
/router/nrw Leitwegrecherche mit Priorität auf Region NRW
@jprante
jprante / nested-query-fields.sh
Created January 8, 2015 10:51
Nested query, path, repeated field names
curl -XDELETE 'localhost:9200/test'
curl -XPUT 'localhost:9200/test'
curl -XPUT 'localhost:9200/test/virksomhed/_mapping' -d '
{
"properties": {
"Vrvirksomhed": {
"properties": {
@jprante
jprante / multi_match.sh
Created December 30, 2014 09:11
multi_match and boost
curl -XDELETE 'localhost:9200/test'
curl -XPUT 'localhost:9200/test'
curl -XPUT 'localhost:9200/test/test/_mapping' -d '
{
"test": {
"properties": {
"custom_all":{
@jprante
jprante / SimpleTest.java
Last active August 29, 2015 14:10
Simple index/query test
import org.elasticsearch.client.Client;
import org.elasticsearch.common.logging.ESLogger;
import org.elasticsearch.common.logging.ESLoggerFactory;
import org.junit.Test;
import static org.elasticsearch.client.Requests.deleteIndexRequest;
import static org.elasticsearch.client.Requests.indexRequest;
import static org.elasticsearch.common.settings.ImmutableSettings.settingsBuilder;
import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
@jprante
jprante / hyphen-tokenizer.sh
Last active April 13, 2023 06:55
Hyphen Tokenizer Demo
DELETE /test
PUT /test
{
"index" : {
"analysis" : {
"analyzer" : {
"default" : {
"type" : "custom",
"tokenizer" : "hyphen",
"filter" : [
@jprante
jprante / must-should-filter.sh
Created November 1, 2014 23:14
Must/should filter
curl -XDELETE 'localhost:9200/test'
curl -XPUT 'localhost:9200/test/test/1' -d '
{
"location" : "germany",
"valueType" : "integer"
}
'
@jprante
jprante / colors.sh
Created October 29, 2014 23:35
Color search
curl -XDELETE 'localhost:9200/test'
curl -XPUT 'localhost:9200/test' -d '
{
"mappings" : {
"colors" : {
"properties" : {
"color" : {
"type": "string",
@jprante
jprante / ratpack.log
Created October 26, 2014 21:27
Ratpack hystrix test fail
git rev-parse --verify HEAD
c5be3ecb81995fd8846b20e05d49ab875887538d
./gradlew check --info
[...]
:ratpack-hystrix:test (Thread[main,5,main]) started.
:ratpack-hystrix:test
@jprante
jprante / hs_err_pid26623.log
Created October 20, 2014 15:06
SIGBUS on Solaris Sparc with ES 1.3.4
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0xffffffff7e51d838, pid=26623, tid=42
#
# JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.11-b03 mixed mode solaris-sparc compressed oops)
# Problematic frame:
# V [libjvm.so+0xd1d838] Unsafe_GetInt+0x174
#