This topic got my immediate interest when reading a chapter (16) in Linux by Steve Oualline and Eric Foster-Johnson called โSetting Up a Search Engineโ. As a creator of web content, who wouldnโt want to know something about this subject? Well, Daffy Duck for one! Yeah โฆ well โฆ as a creator of web content, and excluding Daffy Duck, who wouldnโt want to know something about this subject? How about Elmer Fudd?! Yeah โฆ okay โฆ well โฆ point taken โฆ as a creator of web content, and excluding Daffy Duck and Elmer Fudd, who wouldnโt want to know something about this subject โฆ and before you say Bugs Bunny let me just say that carrots result in curiosity regarding webservers, and search engines in particular? How โbout Bugs Bunny?! Gghhheeeeese!
Anyway that got me into htdig (regarding local search engine, the emphasis being local โฆ weโre not claiming this as a Google or Yahoo or Bing โฆ but this can be good for a intranet scenario, just as one example of its use) which Iโve no doubt has worked well for lots of people but the Xcode environments now make it harder to work โฆ tried it, but it ended in a dead end, so did some further research, after getting my dog to lick my wounds โฆ sheโs awfully good at that โฆ and came up with a website mentioned in the blurb below that led me to an Open Source product called Indri, which appears excellent. Have a look below at what (ended up) working on a local Apache MAMP webserver with Mac OS X 10.9 Mavericks (at the Terminal applicationโs Bash command line environment), and weโll probably revisit this area of webserver web work (www โฆ chortle, chortle) โฆ perhaps to link it to a URL โฆ would highly recommend reading up on it at some/all of the links below.
Here is an example of an XML query file that works with Indri you could call queriesxml โฆ and thanks for stopping by todayโs tutorial posting. Will leave you with a link to htdig thoughts, because it might work for you, and if it had worked for me, would be now showing you the results of what would happen in MAMP if weโd gone to URL http://localhost:8888/search.html
If this was interesting you may be interested in this too.