10 Jan 2003 15:37
Again some questions about xapian (attributes, remote, legal)
Arjen van der Meijden <arjen <at> glas.its.tudelft.nl>
2003-01-10 14:37:02 GMT
2003-01-10 14:37:02 GMT
Hi list, I have, again, some questions about xapian. We have decided to keep using xapian for our forum and are trying to integrate it somewhat better, by wrapping it into the php-software. That is to enable us to do some simple right-checks (i.e. allowing someone to search in the subforums he has access to, by supplying a list of booleans that represent that list of subforums.) There are three models that come to my mind, to use omega within the webserver-cluster. Simply redirecting anyone who wants to search to a "dedicated search-server" where the php-application can either call omega as a commandline application or connect to a unix-socket, this is the simplest but (I think) least desirable method. Another approach is to connect with php to a tcp-socket to a c++-application that is a version of omega adjusted to be a daemon. And the third is to set up a remote database listener and adjust the omega-clients to use that remote database (and have the webservers call the local omega, either as a commandline application or again some form of (unix-)socket). All three methods have the search-logic on one machine and depending on the choice of distribution a small or relatively large amount of work locally. We'll probably start using the first method, since that is the easiest to set up. Does anyone on the list have some tips, which way performs best? To integrate it even better, a direct connection from php to the search-databases could be nice (not necessarily better, php is slow and clumsy with memory compared to c++). What part of xapian will be(Continue reading)
.
Getting Xapian building using MSVC would be a significantly harder
task, because you'd need to write your own build system (or import it
all into a project, and fiddle with things). I can't see this being
done by the Xapian team in the near future.
[1] A gcc-based system that targets Windows, which I think is usually
used as a cross-compiler. Certainly I'm using it on a Debian system.
J
RSS Feed