示例#1
0
        //Set some default values
        public SearchParameters()
        {
            LocationIndexManager locationIndexManager = new LocationIndexManager();

            this.SearchProperties = new List <SearchProperty> {
                new SearchProperty(locationIndexManager.AllDataFieldName)
            };
            this.IndexTypes = new List <string> {
                locationIndexManager.IndexTypeName
            };
            this.SearchProvider = locationIndexManager.uLocateLocationSearcher().Name;
        }