Vinta Chen

Results 31 comments of Vinta Chen

有啦,有考慮過啦,但是還要再想一下確切的做法 比如說 是不是只考慮標點符號和英文、數字 超過一個空格的情況 因為是 HTML,所以會有各種嵌套的 tag,處理起來挺麻煩的 可能也得算上 ` `

@gumblex 好主意!謝謝! 類似這樣嗎? ![screen shot 2015-02-25 at 13 05 31](https://cloud.githubusercontent.com/assets/652070/6365262/0cec340e-bcef-11e4-908a-b265305090e5.png)

Thank you for reporting this error, I will check it out. Maybe it's time to release a new version.

幾年前為了備份資料 有用 AWS Lambda 和 API Gateway 寫了一組簡單的 API 不過一直忘記要開放 需要的人可以直接拿去用啊 ```bash $ curl -X GET -H x-api-key:PW1k5rmFD78s1YlQ1W1jw71jRZli2QOG4KS1bVjU https://lfsfm1czqg.execute-api.ap-northeast-1.amazonaws.com/v1/issues $ curl -X GET -H x-api-key:PW1k5rmFD78s1YlQ1W1jw71jRZli2QOG4KS1bVjU https://lfsfm1czqg.execute-api.ap-northeast-1.amazonaws.com/v1/issues/100 ``` 內容大概長這樣: ```json {...

Already added.

這裡提供另外一個解法,就是額外新增一個 field 使用自訂的 `unigram_tokenizer`(即 [NGram Tokenizer](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-ngram-tokenizer.html)),然後搜尋的時候同時查找原始欄位和 unigram 欄位: ```json { "settings": { "analysis": { "tokenizer": { "unigram_tokenizer": { "type": "ngram", "min_gram": 1, "max_gram": 1, "token_chars": [ "letter", "digit" ] }...

Thank you for your contribution to awesome-python! However, this PR cannot be accepted because: **Vague submission, not adding a Python library** This repository is specifically for curating awesome Python libraries,...

Closing as this PR is not adding a Python library.