full text visited tweets search
1.0.0
它的工作原理:
Azure Search explorer ,並執行任意搜索查詢。50 MB的總推文索引大小,則此解決方案幾乎是免費的。您需要:
Azure Cognitive Search服務。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在訪問的推文中搜索一些內容。