質問

これは望ましい行動であると思いますが、私はそれを克服しようとしています - 私は検索し、誰も同じことから文句を言わなかった。

コア検索結果Webパーツを含む検索結果ページを持っています。「テスト」という単語を検索するとき、URLはそのように見えます。 > http://xxxx.com/sitepages/Results.aspx ?k=テスト

と結果がマイキーワード 'test'と一致する場合は表示されます。

しかし、人がページに直接行くと、何も検索せずに: http://xxxx.com/sitepages/Results.aspx すべての結果がページに表示されます。これは望ましくない動作です。

適切な検索が実行されるまで、これらの結果を隠すことができるプロパティはありますか?

事前にありがとう!

役に立ちましたか?

解決

This is not the out of the box behavior. Hitting the results page with out a keyword parameter should result in a blank page. I am using the Enterprise Search Center site template. My results page is under /pages/results.aspx. Testing with a Basic Search center ressults in the same thing. I get no results without a keyword parameter.

Looking at your URL it appears that you have crearated your own results page in SitePages. I suspect that in configuring the Results web part you added some parameter that is causing the query to fire in spite of the keyword parameter.

Test the behavior with an OOB search site and then compare the web part properties.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top