Displaying 20 results from an estimated 2000 matches similar to: "term / posting question"
2013 Sep 02
2
having trouble with prefixes
I've got a small test database setup with one record.
$ delve -r 1 -V /tmp/1/
Values for record #1: 0:DD4F2162FFFF0E43741A4A1C2B8EC0E7 1:./Text_page_scan_2.jpg 2:jpg 3:.jpg
Term List for record #1: E:.jpg P:./Text_page_scan_2.jpg Q:DD4F2162FFFF0E43741A4A1C2B8EC0E7 T:jpg
The terms were added with lines like this:
doc.add_term(string("P:") + path);
Problem is, I can't seem to
2016 Jul 24
3
Xapian 1.4.0 released
On Fri, Jul 22, 2016 at 07:19:43PM -0700, Kevin Duraj wrote:
> I would like to propose to change the following code while indexing a
> term that is larger than 245 characters and then crashing and aborting
> the entire index, we could rather truncate the term to 245 characters
> and continue with indexing.
Kevin -- I wonder what others are currently doing when this comes up
(or if
2010 Feb 02
1
How to use a custom stemmer from Python bindings?
Hi,
I'm using Xapian bindings for Python in my project. How could I use a
custom stemmer instead of the included one (Snowball)? The one I'm
looking at right now is Hunspell (http://hunspell.sourceforge.net/)
which has Python bindings (http://code.google.com/p/pyhunspell/).
Thanks in advance,
Eugene
2006 Dec 16
1
Changing weights per field
I'm not entirely sure if the following is possible with xapian (didn't see
much in the way of the documentation that says it is).
I have four fields which reference a PK in our DB that I'd like to index (in
most weighted to least weighed order): full name, e-mail, title and
location. I see I how I can use add_document() to add a concatenated string
of the 4 fields, but how would I
2006 Mar 29
1
Using boolean terms in PHP bindings
OK, I'm indexing my data with the scriptindex. I want to be able to
restrict the search by the category field. Do I need to do anything to
the data itself? Like, literally prefix it with the characters "XC"?
Below is my indexor for scriptindex and the my php code...
document_id : field=ref unique=Q boolean=Q
search_id : field=document_id index=S
document_title : field=title
2009 Jun 05
2
Blacklist stemming
Hi,
I need to modify the stemming for a couple of words (a blacklist) and for
all the other to use the usual snowball stemmer.
The "natural" way of doing it would be to derive from Stem and override
operator ()... but I am using *python-bindings*. Would this be possible?
If not I have two other solutions in mind:
- add a custom stemmer to Xapian
- write custom index & search
2008 Sep 27
3
Query::MatchAll
Why there still been rank when using Query::MatchAll() ?
2010 Jun 07
2
Is there a 64 character term size limit? In Ruby bindings?
I've just found some items in my Xapian database which aren't being
indexed, when the terms are quite long.
Example term:
Frotherham_doncaster_and_south_humber_mental_health_nhs_foundation_trust
It represents that the Freedom of Information request was made to a
particular public body. It results in pages like this not correctly
showing results:
2006 Jan 31
1
retrieving attributes of searchresults
i use the perl interface of Search::Xapian to index documents, now i got
metadata i store with the index like title, date, author, .. and i wonder how to
retrieve them from the index again without pulling them from the database.
i am pretty sure this is a stupid question and that the answer is obvious i dont
seem to be able to find it.
regards m
2015 Jul 26
1
Get term from document by position
mple (see attachment).
>
> Attachments get stripped out by the mailing list, so I?ve made a private gist of the two files here: <https://gist.github.com/jaylett/ce8455b37e2b84422346>.
>
> Actually, when I run it I get 0 matches, which would explain why you?re just getting the start of the document. However if I adjust things (match the stemming strategy for TermGenerator to
2008 May 12
1
Using StemFilter with PhraseQuery
Hi,
I''m having difficulty getting the StemFilter and PhraseQuery to work
properly together. When I use a StemFilter with a PhraseQuery, searches only
work if the phrase consists of stems. For example, the search phrase
"reduces health care" will not work but the phrase "reduce health care" will
work even though the exact text "reduces health care" is
2008 Jul 12
1
add_term
i used to use document.add_term("term"); to associate document with a
term that did not appear in html, but add_term function might have changed,
as i no longer get results for associated terms.
what would be the new way to do it ?
Thank You
2008 Sep 16
1
Some Questions From the beginner of Xapian
Dear, guys:
I am a beginner of Xapian, when reading the documents, I encountered follow questions.
(1) I see the Xapian::Document has a method
void add_value (Xapian::valueno valueno, const std::string &value)
What's the purpose of this method? Document will related to the terms, but what's the purpose of this?
(2) add_posting method will add term to a documents.
void
2016 Jul 12
3
Xapian 1.4.0 released
On Mon, Jul 11, 2016 at 02:02:56PM -0700, Kevin Duraj wrote:
> You are saying that when I search for "delve Xapian 1.4" on Google, a
> company worth of 491 Billion of Dollars and you saying that their top
> of the search result has nothing to do with Xapian.
>
> https://www.google.com/search?q=xapian+delve&ie=utf-8&oe=utf-8#q=delve+xapian+1.4
Well, I'm not
2008 Aug 16
1
python how do i stem words in python?
hi,
i am newbie to xapian and am trying to get started with it in python.
there is no stemmer.stem_word method in the latest python library. how
do i stem words before doing doc.add_posting?
is there any sample hello world code in python that i can use?
thanks a lot!
>>> stemmer = xapian.Stem('english')
>>> stemmer.
stemmer.__call__
2011 Feb 11
2
PHP Binding and SWIG Director for XapianMatchDecider
Hi,
I try to use XapianMatchDecider to filtering results, but the code :
$Decider = new MatchDecider_Search($XapianDatabase->_cPtr);
$mset = $XapEnquire->get_mset(0, 3000, null, $Decider);
Always return :
PHP Fatal error: No matching function for overloaded 'Enquire_get_mset'
in xapian.php on line 1082
I saw that SWIG was not supporting Directors for PHP, but now, it seems
to
2014 Apr 13
2
Adding an external library to Xapian
It is there:
https://github.com/sidmutha/xapian/blob/master/xapian-core/api/Makefile.mk#L53
On an other note, I'm trying to run ./bootstrap from the cloned repo. But
it gives an error saying "unknown option -C" followed by "Bootstrap failed".
*Siddhant Mutha*
Undergraduate Student
Department of Computer Science and Engineering
IIT Madras
Chennai
2006 May 31
1
Phrase Query vs AND Query? Why don't these find the same things?
PHRASE QUERY
Xapian::Query((MBOX:12345678-1234-1234-1234-1234567890ab AND
(LP:backup:(pos=1) PHRASE 6 LP:c::(pos=2) PHRASE 6 LP:program files:(pos=3)
PHRASE 6 LP:Mozilla Firefox:(pos=4) PHRASE 6 LP:res:(pos=5) PHRASE 6 LP:
table-add-column-after-hover.gif:(pos=6))))
AND QUERY
Xapian::Query((MBOX:12345678-1234-1234-1234-1234567890ab AND
LP:backup:(pos=1) AND LP:c::(pos=2) AND LP:program
2014 Mar 26
3
about sort_by_value
Hello, I have found that the use of sort_by_value very slow.
16800 result, return to the previous 10, sorting takes about 25ms.
And if you do not sort, returns 10, need only about 0.3ms.
How to make the sort faster?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2020 Feb 08
2
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote:
> On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> > Hey all, I've been using ->add_database for a few years
> > to tie sharded DBs together and it works great.
> >
> > Now, I want to be able to search across several DBs
> > which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB.
> >