similar to: find document by doc path

Displaying 20 results from an estimated 2000 matches similar to: "find document by doc path"

2011 Sep 21
2
Xapian-discuss Digest, Vol 88, Issue 9
Thanks that helped :). I am still trying to cover add_value some more though since I seem to not understand it totally. I guess it is because I am used to Lucene and Sphinx and Solr and it appears that Xapian seems to attach the type of value stored more on add_value. Like for example I am still a bit confused on how slotno actually works and what it actually is. I think the main thing is
2007 Jul 10
1
udev - by-id
Hi, I am trying to set up a CentOS 4 machine with various iSCSI mounts for Oracle, but devices keep on moving around, causing the mounts to fail while called by the sd[a-f] names. We thought about using labels, but, as some of the partitions do not use EXT3, that was discarded, so we thought about using udev and by-id. The problem is that udev does not seem to create the by-id folder or any
2011 Sep 20
1
Understanding API Documentation for PHP
Hey everyone, I am brand new to Xapian so forgive me if I am just being noob. I looked over the sparse documentation for the Xapian library and its PHP hooks and I am really confused how to complete my index. I understand how to add documents etc etc etc and how to build queries but how I do specify in add_value what field type xapian should take (i.e. tokenized, unindexed, indexed)? Is there
2010 Jan 01
1
Document values vs data
In a recent post, someone asked about storing "metadata" in a document. My guess would have been to use add_value. Olly's recommendation was to use set_data. What are the general guidelines for deciding whether to use values or data in a document? Garrett
2010 Dec 06
7
[PATCH 1/8] staging: hv: Convert camel case struct fields in vstorage.h to lowercase
From: Hank Janssen <hjanssen at microsoft.com> Convert camel case struct fields in vstorage.h to lowercase Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/storvsc.c | 133 +++++++++++++++++++++--------------------
2010 Dec 06
7
[PATCH 1/8] staging: hv: Convert camel case struct fields in vstorage.h to lowercase
From: Hank Janssen <hjanssen at microsoft.com> Convert camel case struct fields in vstorage.h to lowercase Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Hank Janssen <hjanssen at microsoft.com> --- drivers/staging/hv/storvsc.c | 133 +++++++++++++++++++++--------------------
2024 Apr 26
1
queries for a set of values
I probably should've used boolean terms in addition to numeric values when indexing, but currently I have a set of numeric values[1] and trying to avoid having to reindex ~250GB DBs (and asking numerous users to do the same). Say I have a bunch of values which I want to filter a query against. If I had boolean terms, it could just OP_OR against the whole set. IOW, this is what notmuch does
2012 Jan 20
2
Perl version of sortable_serialize missing?
I attempted to use the sortable_serialize function from perl, however doesn't seem to exist. The only occurrence of the string "sortable" in the /usr/local/perl/5.10.1/Search/ tree is in the pod in Xapian.pm. What am I doing wrong? use Search::Xapian; ... $doc->add_value(4,sortable_serialize($recdate)); Undefined subroutine &main::sortable_serialize called
2008 Jan 15
7
PHP indexing, what's the PHP method for indexscript
Currently I have the following indexscript: pid : unique=Q boolean=Q field=pid postdate : field=startdate author_name: unhtml boolean=XAUTHORNAME field=author author_id: boolean=XAUTHORID field=authorid url : field=url sample : weight=1 index field=sample How can I create the same indexing using PHP? With this, I can get an searchable index, but I have no idea how to set the fields, so that I
2008 Sep 09
3
sort by value fails
hi all, i want use sort_by_value to sort by "username". so in the indexing process i add the value i want sort by as value (lang is php) $document->add_value(0, 'value'); when i sort i got all specialchars at the beginning ? ? ? alf the values be indexed as utf8. what do i wrong? any suggestions? regards, sven
2011 Jan 11
1
chert-update creates a db with some errors
I've some problems converting a xapian db, created with core 1.1.3 (using chert), to the new chert format. I'm using xapian-chert-update, compiled from the core-1.2.4. The conversion seems to run without errors: #./xapian-core-1.2.4/bin/xapian-chert-update old new postlist: Reduced by 33.3333% 16K (48K -> 32K) record: Size unchanged (8K) termlist: doesn't exist position: Size
2010 May 22
1
How to search documents with certain values
Hi all, I am creating Xapian documents and adding a unix timestamp to each document as a value using the doc.add_value method. When I search my Xapian database, I want the option to only search documents with a timestamp within the last year. Is there a way to search across documents with a value greater than a specified value string? Or is there a better way of doing something like this? Any
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
2011 Aug 09
3
what is the fastest way to fetch results which are sorted by timestamp ?
what is the fastest way to fetch results which are sorted by timestamp ? i want to use xapian as my search engine , use add_boolean_term(something) and add_value(0,sortable_serialise(get_timestamp())) to a doc. search through enquire.set_weighting_scheme(xapian.BoolWeight()) and enquire.set_sort_by_value(0,True) to ensure that the results are sorted by the timestamp. This method is ok , but
2004 Aug 06
2
Nothing happens
I'm using version 1.3.12 on my Suse linux 7.0 box. When i understand your msg right, you say that i cannot stream with Winamp (oddcast plugin, Win32) and Icecast 1.3.12 (linux) ? <p><p>----- Original Message ----- From: "Tyler Knott" <mr_radar@charter.net> To: <icecast@xiph.org> Sent: Tuesday, December 31, 2002 6:36 PM Subject: Re: [icecast] Nothing happens
2017 Dec 15
5
How to get the serialise score returned in Xapian::KeyMaker->operator().
HI, all, I am a user of Xapian, and now I have a problem in using it. After using boolean terms to get some candidates of documents (still too much), we want sorted them by self-defined function which is used in Xapian::KeyMaker->operator(). But how can I get the serialise score in Xapian::MSetIterator object. c++ code likes this: class SortKeyMaker : public Xapian::KeyMaker { std::string
2015 Jan 20
2
Question on "single writer, multiple reader"
On Sun, Jan 18, 2015 at 04:25:29PM +0000, James Aylett wrote: > That?s exactly how it?s supposed to work. ?Eventually? (once the > writer gets sufficiently far ahead of the reader), the reader will get > a DatabaseModifiedError and will have to re-open the database, but > until then it?s up to it when it does so. You may wish to do it every > N requests, or every K seconds, or only
2006 May 21
3
find with belongs_to -> belongs_to -> belongs_to
I have 3 tables keywords (keywords attached to a file) files (info about the file) paths (path for the file) [This is a legacy database, so I can''t change this] keyword belongs_to file and file belongs_to path. Users need to be able to search the keywords, but they only have access to certain volumes, so the results need to be limited by the path. I also need to show paging,
2004 Aug 06
3
Nothing happens
hi I've installed icecast on my linux box and want to stream with the oddcast Plugin in winamp. It works sofar, clients and source could connect & stream to the server but the clients don't hear anything. In the mailinglist is no solution for my problem and the logs don't give me an error. does someone now how to solve the problem ? <p>--- >8 ---- List archives:
2018 Mar 07
1
[PATCH] Support for Ambisonics and Projection API.
Excellent, thanks Tim for writing back so quickly! Cheers, Drew On Tue, Mar 6, 2018 at 6:25 PM, Timothy B. Terriberry <tterribe at xiph.org> wrote: > Drew Allen wrote: > >> Please feel free to ask any questions or give any feedback you might >> have. :) >> > > A few comments from a quick glance through the opusfile patch: > > You unconditionally