df1dd9b108f3cd7d5130e7f654ea099021c7a2b3,qanta/guesser/experimental/elasticsearch_instance_of.py,ElasticSearchIndex,search,#ElasticSearchIndex#Any#Any#Any#Any#,82

Before Change


                    fields=["wiki_content", "qb_content"]
                )
        else:
            s = Search(index=INDEX_NAME) \
                .query(
                "multi_match",
                query=text,
                fields=["wiki_content", "qb_content"]
            )
        results = s.execute()
        return [(r.page, r.meta.score) for r in results]


es_index = ElasticSearchIndex()

After Change


            x_data.append(sent)
            if p in instance_of_map:
                y_data.append(class_to_i[instance_of_map[p]])
            else:
                y_data.append(class_to_i[NO_MATCH])

    return x_data, y_data, i_to_class, class_to_i
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Pinafore/qb
Commit Name: df1dd9b108f3cd7d5130e7f654ea099021c7a2b3
Time: 2017-05-24
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/experimental/elasticsearch_instance_of.py
Class Name: ElasticSearchIndex
Method Name: search


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 27ffa988ebeead4044695d58642b628083382d6c
Time: 2018-07-29
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAOrder.py
Class Name: QA_OrderQueue
Method Name: pending


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 9d5565affe6314056373bf789868e8db714a3da8
Time: 2020-08-04
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_stock_list