cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
78
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Martin A. on 23-03-2010 11:54:38 AM
Hi!

I'm trying to figure out how the CorpDir StartsWith feature works. I get nonsense results when using a StartsWith-token. For example if I type,

xcommand corpdirsearch startswith: "M"

...I get no results even though I have lots of entries starting with "M". If I do this search:

xcommand corpdirsearch startswith: "M" path: "c_2"

...it will give me about 30 results that doesn't match the startswith-token.

What I'm I doing wrong here?

Kind regards,
Martin

Subject: RE: CorpDirSearch
Replied by: David Bruun-Lie on 23-03-2010 02:54:57 PM
Hi Marting,
try using the CorpDirGetNext command instead
1xcommand CorpDirGetNext Path:"c_2" StartsWith:"M"


The way the search is implemented on MXP is that this will get entries that match in the list including and AFTER the first match given by the StartsWith parameter. Specifying "M"  will give all results starting with M but may also continue to give results after M in the alphabet N,O,P... etc up to the number of hits (specified by the Hits parameter if specified)

Regards,
David
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links