Skip to content

Instantly share code, notes, and snippets.

View rajanim's full-sized avatar

Rajani Maski rajanim

  • New York
View GitHub Profile
@rajanim
rajanim / command1.json
Created October 13, 2015 15:38
import command
{
"add-field" : {
"name":"name",
"type":"text_general",
"stored":true
},
"add-field" : {
"name":"initial_release_date",
"type":"tdate",
"stored":true
@rajanim
rajanim / ACLPostFilter
Created October 28, 2013 13:52
ACLPostFilter
package cn.com.os.solr;
import java.io.IOException;
import java.util.BitSet;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.search.FieldCache;
import org.apache.lucene.search.FieldCache.Ints;
import org.apache.lucene.search.IndexSearcher;
import org.apache.solr.search.DelegatingCollector;