Indexing is simply the work the Search Engine Robots do to give you information on smithkline. How does an indexing robot decide what to index? Well they just send their Bots or Spiders to crawl the web looking for smithkline on web sites.
If an indexing robot finds a document that contains smithkline, it may decide to parse it, and insert it into its database. How this is done depends on the robot. Some robots index the HTML Titles that contain smithkline and keep them in their database. Others will look for smithkline in the first few paragraphs, or parse the entire HTML and index all words.
RX Right! Resources smithkline to pharmaceutical sales interview