similar to: How to search documents with certain values

Displaying 20 results from an estimated 200 matches similar to: "How to search documents with certain values"

2017 Sep 12
2
perl bindings to Xapian::Query
QueryParser is great, but I would like to make a query myself, so I can filter results by a specified value (in this case restricting by epoch time after a certain value) My code looks like this, and compiles, and appears like it should work according to the perl source:     my $query = $qp->parse_query($querystr);     if ($datefilter) {         my $filterepoch = time() - ($datefilter
2009 Apr 14
2
questions about xapian
Hi! Alls ???? i have read code of xapian more than one month,i leant a lot from your code both form design of search engine and code details. ???? however, something make me in a puzzle. ? ?? Take? RefCntBase as an example, it seems that it is a "kernel" of xapian, as many classes inherit from it. But,what is it funtion? why is it so important? ???? Another confusion is about
2009 Apr 14
2
questions about xapian
Hi! Alls ???? i have read code of xapian more than one month,i leant a lot from your code both form design of search engine and code details. ???? however, something make me in a puzzle. ? ?? Take? RefCntBase as an example, it seems that it is a "kernel" of xapian, as many classes inherit from it. But,what is it funtion? why is it so important? ???? Another confusion is about
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
2016 May 16
2
Weighting recent results
I was thinking about this some more: Is there a reason I can't just weight by some function of recency at indexing time? $weight = get_weight_based_on_recency(...); $tg->index_text($txt,$weight); If I wanted to allow the user the option of searching either in recency-weighted mode or not, I could index each document into 2 different databases, one with and one without. This avoids
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
2011 May 23
1
More relevance for recent documents
Good afternoon I would like to ask if is possible somehow give more relevance to the recent documents in search results. I dont want to sort results according to the date, I still prefer relevance, but I would like to see recent documents with better scoring. I was trying to add search query using AND_MAYBE, which should use relevance from both subqueries, but it didnt add any benefit to the
2018 Jun 20
2
Welcome to the "Xapian-discuss" mailing list
Hi, I'm new to Xapian and wanted to know if it has a specific feature. I want to be able to check the relation between two terms on a page based on how close they are together on the page. I want to use a combination of n-gram based labeling and the "slop" feature found in Elasticsearch. Does Xapian have this/a similar feature? I haven't been able to find any programs that have
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
2016 Feb 15
3
Issues in Example code
Hi My name is Shiv and I am student at IIIT-D ( http://www.iiitd.edu.in/ ) pursuing my undergrad education in Computer Science. I am currently in my final year. I am following the Xapian Gsoc guide ( https://trac.xapian.org/wiki/GSoC%20Guide#Mentoring). I have successfully checked out and built the code. I am trying out the python codes given at (
2013 Aug 22
1
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
Hi Daniel, Thanks a lot for providing us your pointers. From the domain.xml(attached in my previous mail) which we have used for defining virtual guest i can see below lines <emulator>/usr/local/bin/qemu-system-x86_64</emulator> We were using same domain.xml in eralier libvirt version and the execution of cpu_stats command was successful. Now if we have to get "cpu_stats"
2011 Dec 07
2
How to choose the proximity between search words
Hi, I'd like to know how we can choose the distance between two words that we search in a text. I know there is an "op_near" operator but I don't know how I can specified that the number of words between the two specified words should not exceed 10 or 20 or x words. I'm really sorry for my terrible English, I hope I'm understandable!
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
2007 Jul 09
1
[LLVMdev] Integer Range
Dear All, Is there an LLVM analysis pass that can, given an LLVM integer value, tell me the minimum and maximum values that the value will be at run-time? Conservative answers are fine, and execution time isn't too important, so the more accurate it is, the better. Thanks in advance. -- John T.
2013 Aug 22
2
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
Hi Daniel, Thanks for your immidiate reply. The starting of virtual guest was ok on our machine. We are facing this issue while executing the "cpu-stats <domain name>" command. I have collected the debug logs as you suggested and attaching the same. <<libvirt_testing_starting_VG.log >> --> Log collected while starting the virtual guest
2017 Dec 05
1
How to enhance the query performance for large boolean attribute
Hi all, I am a new user to Xapian, and now we met such problem. In our case, a document has many attributes which is boolean value, for example( A, B, C ) , and our search query will use certain filter logic ( A == true and B == false ..) to combine with other search logic. We use MatchDecider to implement the filter logic, and now we met some performance problem, because our self-defined
2006 Apr 06
1
search on subsets
hi all i am building an experimental php search app on top of xapian (using the xapian-bindings). i want to add a feature so that you can search within a search - search on a subset. i haven't yet started working on it, but as far as i can tell, there seems to be no easy way of doing this. can someone point me in the right direction? thanks alec
2013 Aug 22
2
Re: Information needed regarding the libvirt version libvirt-1.0.6-1
Hi Daniel, Thanks a lot for your reply. We have mounted all the cgoup controllers at "/dev/cgroup_<controller>" as mentioned below. ls /dev/ | grep cgroup cgroup_cpu cgroup_cpuacct cgroup_cpuset cgroup_mem On further debugging we dound that the "VCPU" directories are not being created for our domains and hence the comamnd "cpu-stats
2017 Sep 12
0
perl bindings to Xapian::Query
On Tue, Sep 12, 2017 at 04:47:52PM -0400, Alex Aminoff wrote: >         my $filterepoch = time() - ($datefilter * 60 * 60 * 24); >         my $filterquery = > Xapian::Query->new(OP_VALUE_GE,I_DATE,$filterepoch); I think your issue here is that $filterepoch is a number rather than a string (a Perl scalar can have different representations internally). In t/valuerange.t this testcase
2017 Oct 24
4
Not Able to Configure Nagios Server 4.3.4 in Centos 7
Hi Team, I was trying to install the Nagios server in Centos 7. I had downloaded and unzipped the Nagios server and it's plugins file. As per the installation instructions I ran the commands in the concerned folders of ./configure , make , make install for both the core and the Nagios plugins. I am not able to figure out the issue behind that it is not working It did got installed using