[Xapian-discuss] Query / Database question

Ross Lawley ross.lawley at gmail.com
Wed Feb 21 10:33:10 GMT 2007


Hi all,

I have an implementation question, I have an indexed database, I'm currently
using scriptindex and dbi2omega to index and thats working well.  However,
in the same xapian database, I have various categories for content, can I
query the database to ensure that it only returns results of a specific
category.

i.e. Categories might be: car, bike and bicycle.

The user may want to search:

"bmw london" and select the car category
or
"nottingham" and select all categories

Is that something that is easy to implement through the Xapian query
interface?  Or should I be using different xapian databases per category
type?

Ross


More information about the Xapian-discuss mailing list