search for: flag_parti

Displaying 11 results from an estimated 11 matches for "flag_parti".

Did you mean: flag_partial
2011 Jan 04
1
Excessive memory use when using FLAG_PARTIAL?
...nd 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 memory usage of the apache process quickly balloons up to almost 100% of the available memory resources, and hangs there in "Sending reply" status. The execution of the PHP script finishes, but the apache process is stuck, and consuming almost all the available memory...
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. Pe...
2011 May 15
0
Fwd: FLAG_PARTIAL and subset words
Please keep replies on-list so everyone can help and benefit. Begin forwarded message: > From: Greg <freediving at gmail.com> > >>> We're using it this way: >>> xq = qp.ParseQuery(query, (uint)Xapian.QueryParser.feature_flag.FLAG_PARTIAL); >>> The op is AND and the get_description is fairly long (I removed some >>> of it since there is a limit of 40k in the list) > > Here is the full description: > http://pastebin.com/raw.php?i=BryC3q5q -- James Aylett talktorex.co.uk - xapian.org - devfort.com - s...
2010 Aug 28
1
Partial search on prefixed data
...idget 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 documentation seems to mention this very scenario. However, FLAG_PARTIAL doesn't seem to work when searching with a prefix. It _does_ work when I remove the prefix, but then of course I don't get the results that I'm after. Is this the desired behavior? If so, is...
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
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,
2010 Nov 02
1
How to make QueryParser select entire word like "H.O.T"
...t 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", Xapian::QueryParser::FLAG_PARTIAL|Xapian::QueryParser::FLAG_AUTO_MULTIWORD_SYNONYMS |Xapian::QueryParser::FLAG_PHRASE ); cout << "Performing query `" << query.get_description() << "'" << endl; ----------------------Code end------------------------------------------------------------...
2012 Oct 04
1
Auto completion using xapian
...ian has analyzer like EdgeNGram to use it for autocomplete. I am trying to use the auto completion using xapian. For example: e ex exa exam example etc.. so that we can get it. I tried to use using the Partial flag but it dose not work Xapian::Query query = parser.parse_query("m*",parser.FLAG_PARTIAL); Do you have any example or any tutorial is appreciated. --Naveen. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20121004/df278cfc/attachment.html>
2019 Sep 18
0
Improving partial lookup results
On Tue, Sep 17, 2019 at 01:27:08PM +0100, Peter Bowyer wrote: > It handles partial phrases well, so long as the first part is complete > (e.g. "Peter Bow" expands well). If instead I type "P Bow" it fails to > work, as the expansion is done at the end. The QueryParser::FLAG_PARTIAL feature aims to support a "search as you type" feature, so it only expands a potentially incomplete word at the end of the query (and the expansion won't happen if there's a space entered after that, so e.g. `Peter Bow ` is left alone). > Is there a good way to handle this?...
2010 Mar 16
2
Debug build
Hello, I have updated to Xapian 1.1.4 and maybe there is a memory leak. I can run only dmalloc - valgrind would be much too slow. How can I build a debug-build of xapian? Thanks a lot Marcus
2019 Sep 17
3
Improving partial lookup results
Hi, I'm exploring using Xapian to to replace a database-backed people lookup. It's working well but I'd like to know if there's anything more I can do to increase accuracy. It handles partial phrases well, so long as the first part is complete (e.g. "Peter Bow" expands well). If instead I type "P Bow" it fails to work, as the expansion is done at the end. Is