Skip to content

Instantly share code, notes, and snippets.

View shiladitya-bits's full-sized avatar

Shiladitya Mandal shiladitya-bits

  • Amazon
  • Seattle
View GitHub Profile
##sample mapping
{houses:{properties:{house_type:{type:'string',index: 'not_analyzed'}}}}
##sample document
{id:1, house_type:'apartment'}
{
"filter": {
"bool": {
"must": [
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
/*
hello this is file 2!