I develop site on Windows, but when I tried to add search, I encountered too many problems with Sphinx and Haystack+Xapian. Possible solution is to go to Linux, but I don’t want to change my working environment. What search library/server/etc do you recommend for Windows? Which version, repository, tutorials have you used? Maybe you can wrote your own mini-tutorial? I really frustrated with this problem and cannot step forward for several days.
Share
Finally I got Sphinx to work. Still problems with searching in multiple tables but this is solvable I believe.
Useful links:
How to install and implement Sphinx Search on XAMPP for Windows 7 with MySQL and PHP
Tutorial: Installing on Windows
Installing Sphinx on Windows
In the following snippets paths on my system are used.
Search function in views.py:
sphinx.conf (which is in …\Sphinx\bin folder):
Search is available after creating \sphinx, \sphinx\data and \sphinx\log folders in app folder, indexing with command
and starting searchd with command