Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Using external content types, I am trying to create an asset management system for administering, among other things, IP addresses. Using an enterprise search center, the crawler indexes the external content just fine, but when searching for an IP address, no results are returned.

I.e., if the entire scope for 192.168.1.0/24 is documented, searching for "192.168.1.35" yields no results. Searching for just "192" or "168" returns all the addresses, but when searching for "192." or "168.", that is, with a punctuation mark, nothing is returned.

Have I done something wrong? Is it possible to change this behaviour?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

SharePoint sees the period as a word breaker (which means it treats each section of the IP Address as a separate word in the index and does not put them together). The only way to modify how SharePoint treats word breakers is with a custom dictionary: http://technet.microsoft.com/en-us/library/cc263242.aspx

share|improve this answer
    
So essentially I will need to create a custom dictionary containing any and all IP addresses that could be created in the system, one IP per line in the file? –  SilverAdder Jun 27 '12 at 13:27
    
That appears to be the case, yes. I haven't seen a way to use wildcards or regex in the Custom Dictionaries. –  John Chapman Jun 27 '12 at 14:28
    
That worked perfectly. Thank you. –  SilverAdder Jun 28 '12 at 8:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.