2

I am trying to implement stemming in my search app. I have already tried using ~ operator, but it didn't work.

So, I have 3 questions:

1) Should I index a document in some special way to be able to search it using ~ operator? I have a document contained "words", but it can't be found with query="~word".

2) Does operator ~ support other languages?

3) Would you suggest to use other stemmer/lemmer but not the built-in one?

Thanks a lot!

4

1 に答える 1

2

ステミング演算子 ~ は、少なくともクエリ ~word で単語 "words" を検索する場合に機能します。

クエリで「~word」を引用符で囲んでいますか? それはステミングを無効にします。

また、前に言い忘れていましたが、ステミングは現在、開発サーバーに実装されていません。Google がホストする実際の App Engine 環境でのみ機能します。

于 2013-06-24T20:49:19.903 に答える