similar to: Auto completion using xapian

Displaying 20 results from an estimated 1100 matches similar to: "Auto completion using xapian"

2011 Jun 10
1
Where do I stick the PARTIAL flag in xappy?
I want to be able to do searches with FLAG_PARTIAL and some without. Most searches without but with the PARTIAL for an autocomplete widget. I'm using xappy and I can't find where to send the flag when I build up the query. The docs talk of setting up the database with or without FLAG_PARTIAL but that's probably not what I want. Peter
2010 Nov 02
1
How to make QueryParser select entire word like "H.O.T"
Hi, I'm using xapian to build my search engine, but met with a problem. The code snippet is like: ----------------------Code begin------------------------------------------------------------- Xapian::QueryParser qp; qp.add_prefix("Singer", "S"); Xapian::Query query = qp.parse_query("Singer:s.h.e",
2012 Oct 04
1
Synonyms of Abbreviations
Hello, I am looking for a documentation or an example to use the synonym function. I tried this db.add_synonym("omega","xapain"); and this works by adding the flag FLAG_AUTO_SYNONYMS. If i try to use the db.add_synonym("omega","xapain is search engine "); it fails why? Can xapian use synonym for Abbreviations like MBA => Master of business
2009 Dec 07
1
Autocomplete for phrases
Hi all. We are trying to use Xapian to index the titles of around ten million documents (music catalogue) and then do auto-complete style search on this index. After poking around we can't quite get the combination of QueryParser flags and search query that will give back the results we want. The closest we have can take a very long time (because it is searching for, and building a list of,
2011 Jan 04
1
Excessive memory use when using FLAG_PARTIAL?
Hi everyone, Sorry if this is an easy one, but I've Googled and can't find anyone else who's mentioned this same problem. I'm using Xapian (tried both versions 1.0.17 and 1.2.4) with the PHP bindings on Ubuntu 10.04 (Lucid) and Apache 2.2.14. I'm using it for an "auto-complete" in the search form on a web page. But whenever I use FLAG_PARTIAL on my search, the
2010 Aug 28
1
Partial search on prefixed data
Hello everyone, I'm trying to do an "Auto-complete" widget for the search field on a website, which has Xapian running behind it. (Using the PHP bindings.) I have the name of a search result prefixed with "name", so as the user types, it triggers a search for "name:whatever the user put in". This seems like an ideal use for the FLAG_PARTIAL flag; in fact the
2012 Oct 04
0
Xapian-devel Digest, Vol 90, Issue 1
Hi, all guys: I invented a new ranking algorithm inspired by the theory of spread activation and probabilistic model, which can find the latent semantic relationship between docs and terms, and I took one afternoon to implement this idea, which is almost linear time, and the testing result shows that the speed of this algorithm is much faster than the famous Latent Semantic Analysis
2009 Jan 10
2
QueryParser::parse_query() uses OR by default? How to switch to AND?
I use the QueryParser::parse_query() method but I see it uses "OR" by default between words? Is there a way to make it use "AND" instead? I see there are flags I can pass to the parse_query() method but none seems to allow a switch from OR to AND. I would like to do that without having to write my own query parser. Everything else is fine with the QueryParser parsing, for
2009 Jul 08
1
php error parse_query
I'm having trouble getting a search via php working, I get the following error: *Fatal error*: No matching function for overloaded 'QueryParser_parse_query' in */usr/local/share/php5/xapian.php* on line *1409 *The error occurs at this code $query = $qp->parse_query( $query_string , XapianQueryParser::FLAG_PHRASE |
2010 Jan 18
4
Index indexed words
Hello, We would like to create Google or Firefox like "search hints". If someone types "abc", the search system should name some possible hints. I think, Firefox does it by indexing 3-characters of the domain name. If you enter parts, you get some hints. Thank you very much Marcus
2011 Sep 23
2
understanding stemming and synonyms
I am working with version 1.2.7 and want to use stemming and synonyms. I use the perl-bindings and get some problems. First of all: the perl-bindings dont allow the QueryParser a third argument when calling parse_query! So i cannot set a default prefix (which perhaps is the solution to my problem, but later more) i have a simple testcase: 3 documents, every document only has one word:
2006 Apr 19
6
Please help Me!
Hi to this Group! I am new to Ruby! I am facing problrm s to find the database functions. I want the source of sites for predifiend functions for handling the database. I develpong the shoping cart application, In that i am facing problems to delete the perticuller item form cart . I got idea to delete the total cart information using sesiions I want to delete the perticuller item form
2007 Feb 22
1
Wildcards
Hello, Thanks Olly , by following to your suggestion I could do the indexing in the CSV file while the search results retrieved from the Postgres and it's working fine. [ I am using the Xapian PHP-binding to index and search.] How could I enable the WILDCARDS in it ? I followed with the online manual which says it is disabled by default there given some method to enable but I am not
2013 Sep 22
2
How to filter search result with query with has white space.
Hello, include <iostream>#include <string>#include <xapian.h>struct document{ std::string title; std::string content; std::string url;}; void indexData(document d) { try { Xapian::WritableDatabase db("/Users/ramesh/Desktop/xapian", Xapian::DB_CREATE_OR_OPEN); Xapian::TermGenerator indexer; Xapian::Stem
2013 Sep 22
2
How to filter search result with query with has white space.
Hello, include <iostream>#include <string>#include <xapian.h>struct document{ std::string title; std::string content; std::string url;}; void indexData(document d) { try { Xapian::WritableDatabase db("/Users/ramesh/Desktop/xapian", Xapian::DB_CREATE_OR_OPEN); Xapian::TermGenerator indexer; Xapian::Stem
2019 Dec 27
7
Issue running Dovecot in Docker Container
The conf.d files are not included. I have added !include conf.d/*.conf to director.conf and reloaded the dovecot and director services. conf.d/10-logging also has the following lines: log_path = /dovecot.log info_log_path = $log_path debug_log_path = $log_path The /dovecot.log file still shows empty. Nothing is being logged to that file. Thanks & Regards, Naveen On Thu, Dec 26, 2019 at
2018 Sep 30
1
xapian parser bug?
On Sun, Sep 30, 2018 at 09:05:25AM -0300, David Bremner wrote: > if (str.find (' ') != std::string::npos) > query_str = '"' + str + '"'; > else > query_str = str; > > return parser.parse_query (query_str, NOTMUCH_QUERY_PARSER_FLAGS, term_prefix); I wouldn't recommend trying to generate strings to feed to
2004 Feb 24
5
Is it possible to use PXELinux/SYSLinux with out changing DHCP Server settings ?
Hi, We have some 100 Servers (includes both Intel and PPC based systems). Is there any way to easly install OS (different flavours of Linux) on these systems ? We do not have control over the DHCP Server settings so is there any way to do this with out touching the DHCP Server ? We have static IPs for all the systems. Regards, Naveen
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt): def try_to_authenticate User.authenticate(self.username, self.password) end .. private def self.hash_password(password) Digest::SHA1.hexdigest(password) end def self.authenticate(username, password) @user = User.find(:all, :conditions => ["username = ? AND password = ?",
2013 Mar 02
3
How to add an custom weight to the relevancy value and sort it.
Hello guys, I have an weight value which is calculated by some factor and i need to add the weight with the relevancy value of a result and sort it with that value is that possible in xapian. Thanks, VishnuKumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20130302/9831e287/attachment-0001.html>