Vinnige en maklike: Gebruik Vaste sleutelwoord in Resultate Soek Core

Vinnige en eenvoudige instruksies:

Verander 'n bladsy en voeg 'n soektog Core resultate deel.

Verander dat die web deel en uit te brei "Vaste sleutelwoord".

Voeg die vaste sleutelwoord (bijv. ContentType:"Opleiding faktuur" TrainingInvoiceNumber:1111)

Brei resultate Query Options en verander "Cross-Web Deel navraag ID" 'n ander waarde as "gebruiker soek" (bijv. "Query 2").

Notas:

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: Departemente en Produkte.

Die produk site versameling bevat, natuurlik genoeg, product information. Each product in the site collection aggregates data from multiple sources.

Een van die departemente, kodes en toetsing, 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" en waar die rekening nommer is gelyk aan "1111".

'N lekker voordeel van hierdie benadering: We can edit the XSL from the core search results web part and generate any format that we want.

Kyk hier (http://devcow.com/blogs/jdattis/archive/2007/04/17/SharePoint_2007_How_to_Rollup_Content_from_multiple_Site_Collections.aspx) vir 'n ander blogger se gesprek oor hierdie onderwerp.

</einde>Skryf in op my blog.

Een gedagte oor “Vinnige en maklike: Gebruik Vaste sleutelwoord in Resultate Soek Core

  1. Geen naam
    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?
    dankie!
    Carlene
    Antwoord

Laat 'n antwoord

Jou e-posadres sal nie gepubliseer word nie. Verpligte velde gemerk *