Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got an HTML file which I'm having a problem with through Index Server. Here is the text in question.

   (B)   $10,800 per linear mile for 


   (C)   $40,000 per linear mile for any 

My problem is with the dollar amounts.

  • If I search for 800, it finds the document
  • If I search for $10, it finds the document
  • If I search for $40, it finds the document
  • If I search for $10,800, 10,800, $40,000 or 40,000 it will not find the document, regardless of if I surround the text with double quotes.

I thought perhaps it was the comma, but I can find other documents in the indexing server repository with the 40,000 and it will find it. I've deleted the catalog and re-indexed the entire data structure, with no avail.

Any ideas?

share|improve this question

1 Answer 1

I finally figured it out (after about two days):

There were a series of non-breaking spaces (& nbsp;) right before the text in question. I replaced the last one with a physical space and re-indexed it - I guess the indexing service isn't smart enough to ignore those or to treat them as A SPACE!

share|improve this answer

Your Answer

 
discard

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