Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Microsoft Office SharePoint Server (MOSS) 2007

  Asked By: Kristin    Date: Mar 24    Category: MOSS    Views: 1396

I am using Microsoft Office SharePoint Server (MOSS) 2007 Web
Services more precisely Search (Query) Service: Search.asmx

I have created a data origin which it seems to run properly, it
is :

Name: Ficheros Centro de Consultas Integracion
Type of Data Origin: Shared resources of files
URL addresses: file://NombreDelServidor/int_intranetAW/INBO
file://NombreDelServidor/int_intranetAW/PIDO

It detects about 580 elements, which is correct. Besides I have
defined a scope:

Title: Centro de Consultas Int


Rules
Behaviour Number of elements
ContentSource Ficheros Centro de Consultas Integracion
Include 512


One of its data origins is the previous one. But when I try to get
them from an ASP.NET application I only find 23 out of 580, if I try
through the scope or if I try another way:

Eg:

Using the scope
"<QueryPacket><Query><Range><StartAt>1</StartAt><Count>2000</Count>
</Range><Context><QueryText type='MSSQLFT'>SELECT Title, Path,
Description, Write, FileName,Rank, Size FROM Scope() WHERE
\"scope\"='Centro de Consultas Int' ORDER BY
Rank</QueryText></Context></Query></QueryPacket>"

Without using the scope:

"<QueryPacket><Query><Range><StartAt>1</StartAt><Count>5000</Count></R
ange><Context><QueryText type='MSSQLFT'> SELECT Title, Path,
Description, Write, FileName,Rank, Size FROM Scope() WHERE Path
like '%NombreDelServidor/int_intranetaw/INBO%' OR Path like '%
NombreDelServidor/int_intranetaw/PIDO%' ORDER BY
Rank</QueryText></Context></Query></QueryPacket>"

I call search.asmx using QueryService method.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Microsoft Office SharePoint Server (MOSS) 2007 Or get search suggestion and latest updates.




Tagged: