Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
特定のフィールドの最初の 10 語に単語を含むすべての文書を検索する方法はありますか?
ありがとう
残りのトークンをフィルタリングして再利用可能にする最大トークン数を持つパラメーターを使用してアナライザーを作成するのは非常に簡単です。 schema.xml を簡単に変更して、元のフィールドの内容をこのフィールドにコピーし、このフィールドを検索に使用できます。
ターゲットとする特定のフィールドの最初の 10 語が常に含まれると予想される場合は、schema.xmlそのフィールドの最初の 10 語のみを含むフィールドを に追加できます。
schema.xml