نتائج البحث الأساسية - يوضح جميع النتائج إذا قمت بزيارة صفحة صفحة

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/84431

سؤال

أعتقد أن هذا سلوك مرغوب فيه، لكنني أحاول التغلب عليه - بحثت حولها ولا أحد يشكو من نفس الشيء.

لدي صفحة نتائج بحث تحتوي على جزء ويب نتائج البحث الأساسية.عند البحث عن كلمة "اختبار"، يبدو عنوان URL ذلك: http://xxxx.com/sitepages/results.aspx ؟K= اختبار يتم عرض

ونتائجها إذا كانت تتطابق مع "اختبار الكلمات الرئيسية".

ولكن إذا كان الشخص يذهب مباشرة إلى الصفحة، دون البحث عن أي شيء: 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