Hi, I have some question in search with xapian. I added 3 files which there are the same message in each file, but different extensions (e.g. pdf, txt, doc). So, I search in this database. I found 3 results. And I would like to know: How can I fillter result in only one extension(e.g. pdf extension) in this search? Regard Mr.T _________________________________________________________________ Hotmail: ?????????????? ?????????????? ??????????????? https://signup.live.com/signup.aspx?id=60969
?????? ??????? wrote:> Hi, > > > > I have some question in search with xapian. > > I added 3 files which there are the same message in each file, but different extensions (e.g. pdf, txt, doc). > > So, I search in this database. I found 3 results. And I would like to know: > > How can I fillter result in only one extension(e.g. pdf extension) in this search? > > > > Regard > > Mr.T > >One way would be to index the files using the extension as a separate field, possibly a boolean term. That way you can limit the search to a single or set of extensions. Jim.
Seemingly Similar Threads
- How to search in many database?
- Music on Hold
- Search Algorithm Used for Keyword Search
- Xapian ported to WebAssembly for use in web browser
- Fwd: Is there a front-end for using xapian-omega rather than the terminal? Could a Xapian database be accessed from web-browsers?