I would like to search using OOB search results web part so that I define a scope and one managed metadata value. Search should return items only from that scope and only items that contain that value in the specified managed metadata column.

I have a search page that works fine with link (querystrings on separate lines and urldecoded for clarity):

http://site/search/results.aspx?
k=Size>0&
s=Asiakkaat&
r="owstaxIdMyMetadata"=#METADATAGUID:"MyMetadata:MySubMetadata"

Size>0 is the evil hack to get search consider all items.

Question: Is there a way to move that refinement parameter (r) into query parameter (k) so there wouldn't be a need for the Size>0 hack?

link|improve this question
I would make sure that the Managed Property called "owstaxIdMyMetadata" is configured as a "Searchable/Queryable" property. If that's the case, I don't see why using the same refinment parameter (r) wouldn't work in your query parameter (k) – Jason Rastovski Jan 27 at 22:55
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.