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.
次の 2 つのクエリを検討してください。 query1: term1 term2 query2: term1 term1 term2 検索されたドキュメントの順序に違いはありますか?? つまり、solrはquery2の「term1」により多くの重みを与えます。私の理解によると、solrはそれを行う必要があります。しかし、よくわからないので、コミュニティからのコメントが必要です。
はい。ただし、このようなハックを使用する必要はありません。次のように、クエリ用語をブーストできます。
term1^2 term2
QueryParser 構文のドキュメントを参照してください