This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sap.app | |
| import scala.reflect.runtime._ | |
| import scala.reflect.runtime.universe._ | |
| import scala.tools.reflect.ToolBox | |
| object ReflectionTestApp extends App { | |
| val cm = universe.runtimeMirror(getClass.getClassLoader) | |
| val toolBox = cm.mkToolBox() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.neo4j.test; | |
| import com.graphaware.neo4j.expire.ExpirationModule; | |
| import com.graphaware.neo4j.expire.config.ExpirationConfiguration; | |
| import com.graphaware.runtime.GraphAwareRuntime; | |
| import com.graphaware.runtime.GraphAwareRuntimeFactory; | |
| import org.neo4j.graphdb.GraphDatabaseService; | |
| import org.neo4j.graphdb.Label; | |
| import org.neo4j.graphdb.Node; | |
| import org.neo4j.graphdb.Transaction; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.apache.spark.sql | |
| import java.io.{ByteArrayInputStream, ByteArrayOutputStream, ObjectInputStream, ObjectOutputStream} | |
| import org.apache.spark.SparkConf | |
| import org.apache.spark.sql.catalyst.util.{ArrayData, GenericArrayData} | |
| import org.apache.spark.sql.types._ | |
| import org.apache.spark.unsafe.types.UTF8String | |
| @SQLUserDefinedType(udt = classOf[EmbeddedListUDT]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param( | |
| [string] $IstioVersion = "0.3.0" | |
| ) | |
| $url = "https://github.com/istio/istio/releases/download/$($IstioVersion)/istio_$($IstioVersion)_win.zip" | |
| $Path = Get-Location | |
| $output = [IO.Path]::Combine($Path, "istio_$($IstioVersion)_win.zip”) | |
| Write-Host "Downloading Istio from $url to path " $Path -ForegroundColor Green | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| GCC_VERSION="5.2.0" | |
| WORKDIR="$HOME/src/" | |
| INSTALLDIR="/platform" | |
| ## NOTE: XCode must be installed (through App Store) and the following run to install command-line tools. | |
| ## THIS IS IMPORTANT! Among other things, it creates '/usr/include' and installs the system header files. | |
| # xcode-select --install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright OpenSearch Contributors | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import org.opensearch.gradle.test.RestIntegTestTask | |
| buildscript { | |
| ext { | |
| opensearch_version = System.getProperty("opensearch.version", "2.1.0") | |
| common_utils_version = System.getProperty("common_utils.version", "${opensearch_version}.0") |
A useful set of Lucene fundamentals that are good for grok'ing Elasticsearch.
- document: a record; the unit of search; the thing returned as search results
- field: a typed slot in a document for storing and indexing values
- index: a collection of documents, typically with the same field mappings or schema
- corpus: the entire set of documents in an index
OlderNewer