Mabilis at simpleng: Gamitin Fixed Keyword Query sa Mga Resulta sa Paghahanap Core

Mabilis at Simple Tagubilin:

I-edit ang isang pahina at magdagdag ng Paghahanap Core Resulta web bahagi.

Edit that web part and expand "Fixed Keyword Query".

Idagdag ang fixed query keyword (e.g. ContentType:"Training invoice" TrainingInvoiceNumber:1111)

Expand Results Query Options and change "Cross-Web Part query ID" to a value other than "User Query" (e.g. "Query 2").

Mga Tala:

Using core search results in this manner allowed me to create a page that shows information from another site collection. The client has two major site collections: Mga kagawaran at mga Produkto.

Ang produkto koleksyon site ay naglalaman ng, natural sapat, product information. Each product in the site collection aggregates data from multiple sources.

Isa sa mga kagawaran, code at pagsubok, is on such source. When users access product XYZ, they should see codes and testing data directly on the XYZ main page. Since codes and testing is hosted in another site collection, it’s a little awkward. We decided to use the core search results web part since search spans site collections. Codes and Testing manages product data via a custom list that is constrained by a specific content type. Aa keyword query that uses first the content type and then the product number narrow down the search to a single row in the custom list.

The keyword query above is an AND. It returns documents of content type "Training Invoice" and where the invoice number equals "1111".

Ang isang magaling na benepisyo mula sa diskarteng ito: We can edit the XSL from the core search results web part and generate any format that we want.

Tingnan dito (http://devcow.com/blogs/jdattis/archive/2007/04/17/SharePoint_2007_How_to_Rollup_Content_from_multiple_Site_Collections.aspx) para sa isa pang blogger na talakayan sa paksang ito.

</dulo>Mag-subscribe sa aking blog.

Isa naisip sa "Mabilis at simpleng: Gamitin Fixed Keyword Query sa Mga Resulta sa Paghahanap Core

  1. Walang pangalan
    This is a great way to filter the search results but I cannot get the AND part of the Fixed Keyword Query to return results. Can you elaborate on the syntax please?
    salamat!
    Carlene
    Sumagot

-Iwan ng sagot

Ang iyong email address ay hindi nai-publish. Mga kinakailangang patlang ay minarkahan *