C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
[PersistenceModeAttribute(PersistenceMode.Attribute)] public virtual string ToURIPattern { get; set; }
[PersistenceModeAttribute(PersistenceMode.Attribute)] public virtual string ToURIPattern { get; set; }
<PersistenceModeAttribute(PersistenceMode.Attribute)> Public Overridable Property ToURIPattern As String Get Set
<PersistenceModeAttribute(PersistenceMode.Attribute)> Public Overridable Property ToURIPattern As String Get Set
public: [PersistenceModeAttribute(PersistenceMode::Attribute)] virtual property String^ ToURIPattern { String^ get (); void set (String^ value); }
public: [PersistenceModeAttribute(PersistenceMode::Attribute)] virtual property String^ ToURIPattern { String^ get (); void set (String^ value); }
[<PersistenceModeAttribute(PersistenceMode.Attribute)>] abstract ToURIPattern : string with get, set [<PersistenceModeAttribute(PersistenceMode.Attribute)>] override ToURIPattern : string with get, set
[<PersistenceModeAttribute(PersistenceMode.Attribute)>] abstract ToURIPattern : string with get, set [<PersistenceModeAttribute(PersistenceMode.Attribute)>] override ToURIPattern : string with get, set
Eg 1. A developer builds a web-site on http://localhost/internalApp/ and builds the search index - the search works fine on localhost, however when moving the app. to the live server the search results are linked to localhost. To correct this the developer maps the localhost URLs to the real server's, by setting:
Copy | |
---|---|
FromURIPattern = "localhost/internalApp" ToURIPattern = "ourcompanysinternalserver" |
Eg 2. A developer builds a web-site on http://staging.ourdomain.com/ and builds the search index - the search works fine on the staging server, however when moving the app. to the live server the search results are linked to staging.ourdomain.com. To correct this the developer maps the staging.ourdomain.com URLs to the real server's, by setting:
Copy | |
---|---|
FromURIPattern = "staging.ourdomain.com" ToURIPattern = "www.ourdomain.com" |
Assembly: Keyoti4.SearchEngine.Web (Module: Keyoti4.SearchEngine.Web.dll) Version: 2015.6.15.120