full text visited tweets search
1.0.0
それがどのように機能するか:
Azure Search explorerを開き、任意の検索クエリを実行します。50 MBの合計ツイートインデックスサイズで大丈夫な場合は、ほとんど無料である可能性があります。あなたが必要です:
Azure Cognitive Search Seartsを作成します。indexを作成します。 {
"name": "tweets-index",
"fields": [
{
"name": "id",
"type": "Edm.String",
"facetable": false,
"filterable": false,
"key": true,
"retrievable": true,
"searchable": false,
"sortable": false,
"analyzer": null,
"indexAnalyzer": null,
"searchAnalyzer": null,
"synonymMaps": [],
"fields": []
},
{
"name": "content",
"type": "Edm.String",
"facetable": false,
"filterable": false,
"key": false,
"retrievable": true,
"searchable": true,
"sortable": false,
"analyzer": "standard.lucene",
"indexAnalyzer": null,
"searchAnalyzer": null,
"synonymMaps": [],
"fields": []
},
{
"name": "link",
"type": "Edm.String",
"facetable": false,
"filterable": false,
"key": false,
"retrievable": true,
"searchable": false,
"sortable": false,
"analyzer": null,
"indexAnalyzer": null,
"searchAnalyzer": null,
"synonymMaps": [],
"fields": []
}
],
"suggesters": [],
"scoringProfiles": [],
"defaultScoringProfile": "",
"corsOptions": null,
"analyzers": [],
"charFilters": [],
"tokenFilters": [],
"tokenizers": [],
"similarity": {
"@odata.type": "#Microsoft.Azure.Search.BM25Similarity",
"k1": null,
"b": null
},
"encryptionKey": null,
"semantic": null,
"normalizers": [],
"@odata.etag": ""0x8DA33A03A887954""
}
SearchApiKey = YOUR_API_KEY
SearchIndexName = tweets-index
SearchServiceName = tweetssearch
SaveTweetsAzureFuntion Azureサブスクリプションに展開します。firefox-addon/script.jsでazure関数URLを設定SAVE_NEW_TWEETS_INTERVAL_IN_MS 。firefox-addonを構築します。 web-ext build
web-ext sign --api-key YOUR_KEY --api-secret YOUR_SECRET
Search explorerを使用して、訪問したツイートで何かを検索します。