Quick agus Simplí: Bain úsáid Iarratas Eochairfhocal Seasta i Results Core Cuardaigh

Treoracha Quick agus Simplí:

Cuir an leathanach agus cuir Torthaí Core chuid gréasáin Cuardaigh.

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

Cuir an cheist eochairfhocal seasta (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").

Nótaí:

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: Ranna agus Táirgí.

Éard atá sa bhailiúchán láithreán táirge, go nádúrtha go leor, product information. Each product in the site collection aggregates data from multiple sources.

Ceann de na ranna, cóid agus tástáil, 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".

Buntáiste deas as an gcur chuige seo: We can edit the XSL from the core search results web part and generate any format that we want.

Féach anseo (http://devcow.com/blogs/jdattis/archive/2007/04/17/SharePoint_2007_How_to_Rollup_Content_from_multiple_Site_Collections.aspx) le plé blagaire eile ar an ábhar seo.

</deireadh>Liostáil le mo bhlag.

Shíl amháin ar "Quick agus Simplí: Bain úsáid Iarratas Eochairfhocal Seasta i Results Core Cuardaigh

  1. Níl ainm
    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?
    go raibh maith agat!
    Carlene
    Freagra

Leave a Reply

Ní thabharfar do sheoladh r-phoist a fhoilsiú. Réimsí riachtanacha atá marcáilte *