When first creating the index for my data on Sphinx, I made a mistake. I ran the command:
./indexer --config /path/to/conf/sphinx.conf --rotate --all
The result?
Files (data indexes) were created in the var/data directory. When I tried to search the indexes from the command line, no results were returned.
The solution was to run the command as follows:
./indexer --config /path/to/conf/sphinx.conf --all
I believe the rotate flag only applies when an index already exists and it is being updated.
Monday, February 28, 2011
The Sphinx configuration file
Sphinx uses data in a MySQL table to index and search. Before it can do this though it needs to consult its configuration file. The configuration file tells Sphinx where the data is stored, how to connect to the database to get it, what query to use to retrieve the data, where the index should be stored, whether stemming is allowed, and so on. Without a configuration file, Sphinx lacks the instructions to do its job. For anyone setting up a Sphinx search, then, knowing what to put in the configuration file is important.
Monday, February 7, 2011
Excellent instructions for removing an image from its background in Photoshop
Short and sweet:
http://www.pegaweb.com/tutorials/separation/separate-image-from-background.htm
http://www.pegaweb.com/tutorials/separation/separate-image-from-background.htm
Subscribe to:
Comments (Atom)