I hereby claim:
- I am peterdm on github.
- I am peterdm (https://keybase.io/peterdm) on keybase.
- I have a public key ASAFL7lga1BSZAoVc131FLSB9EeoSISn3zdpO13W61CGBQo
To claim this, I am signing this object:
# Original Index Structure (just took the pages field for brevity) | |
PUT test_index | |
{ | |
"settings": { | |
"analysis": { | |
"char_filter": { | |
"punct_annotation": { | |
"type": "mapping", |
I hereby claim:
To claim this, I am signing this object:
"""Information Retrieval metrics | |
Useful Resources: | |
http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
http://www.nii.ac.jp/TechReports/05-014E.pdf | |
http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
""" | |
import numpy as np |
GET /my_index/my_type/_search | |
{ | |
"query": { | |
"function_score": { | |
"query": { <ORIGINAL QUERY> }, | |
"functions": [ | |
{ | |
"filter" : { | |
"term" : { "_all" : "cat"} | |
}, |
filter.strategy : { /* strategy is just what I named content_type … I’ll probably rename it */ | |
type: single, /* or multiple - how many selections are allowed */ | |
suggest: false, /* how many options can be selected */ | |
count: 5, /* | |
order: top, /* top options, or alpha */ | |
subfilters: { | |
recipe : { /* which parent selection would trigger these sub filters */ | |
filter.recipe.course : { … }, | |
filter.recipe.dish : { … }, |
<?php | |
uses_model('top/user_object'); | |
uses_model('message/message'); | |
uses_model('notifications/notification_queue'); | |
uses_model('notifications/subscription'); | |
/** | |
* Notifier is one of several Observers. Each Observer takes action across a particular channel. | |
* Notifier queues messages for delivery to users' mailboxes within the social network. | |
* |
www: | |
requirements: | |
- faye | |
- jade |