Displaying 3 results from an estimated 3 matches for "query_test".
2011 Mar 07
1
Set Term Frequency for a Query
...8d6>(const
std::string &tname_,
Xapian::termcount<http://xapian.org/docs/apidoc/html/namespaceXapian.html#72b5a76dd8cfb7b251fe7986e86390cb>wqf_=1,
Xapian::termpos<http://xapian.org/docs/apidoc/html/namespaceXapian.html#e5a16f073d0c8ed54085a9de07248d45>pos_=0)
:
Xapian::Query query_test(Xapian::Query::OP_OR, Xapian::Query("Bonjour",
10), Xapian::Query("Hello", 5));
Xapian::TermIterator qt = query_test.get_terms_begin();
while (qt != query_test.get_terms_end())
{
cout<<*qt<<" "<<qt.get_wdf()<<" ";...
2011 Apr 19
0
Merge databases
...string &tname_,
> Xapian::termcount<http://xapian.org/docs/apidoc/html/namespaceXapian.html#72b5a76dd8cfb7b251fe7986e86390cb>wqf_=1,
> Xapian::termpos<http://xapian.org/docs/apidoc/html/namespaceXapian.html#e5a16f073d0c8ed54085a9de07248d45>pos_=0) :
>
> Xapian::Query query_test(Xapian::Query::OP_OR, Xapian::Query("Bonjour",
> 10), Xapian::Query("Hello", 5));
> Xapian::TermIterator qt = query_test.get_terms_begin();
> while (qt != query_test.get_terms_end())
> {
> cout<<*qt<<" "<<qt.get_wdf()&...
2008 Apr 30
8
Playing with NtQueryInformationFile
Hi all,
I''m trying to get the allocation size of a file via a file handle
(rather than its name). The example below works for FileNameInformation
but I can''t get it to work as expected for FileStandardInformation.
Here''s some sample code:
# query_test.rb
require ''windows/handle''
require ''windows/error''
include Windows::Handle
include Windows::Error
NtQueryInformationFile = API.new(''NtQueryInformationFile'', ''LPPLL'', ''L'',
''ntdll'')
# http:/...