Skip to content

Instantly share code, notes, and snippets.

View Vadi's full-sized avatar
🎯
Looking for clear sky

Vadi Kumar Vadi

🎯
Looking for clear sky
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="dadasd">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id='container'></div>
<script id="jsbin-javascript">
variableTasks.uiSettings.result = {
settings: [
{
name: "askAddress",
icon: "",
label: "Ask Address",
order: 1
},
{
name: "chooseAddress",
@Vadi
Vadi / TestMs.conf
Created December 28, 2016 17:02
Quick to test to see MS is accessible
modelInfo.name = "TestMs"
userTasks.getAddress {
expectInputs {
address {
type = "string"
}
}
}
@Vadi
Vadi / GroupingApproach.java
Created May 10, 2014 12:43
Shows how to implement grouping queries in Lucene
package com.exzeo.spock;
import junit.framework.TestCase;
import org.apache.commons.io.FileUtils;
import org.apache.lucene.analysis.core.SimpleAnalyzer;
import org.apache.lucene.document.*;
import org.apache.lucene.index.*;
import org.apache.lucene.search.*;
import org.apache.lucene.search.grouping.GroupDocs;
import org.apache.lucene.search.grouping.GroupingSearch;