similar to: Understanding API Documentation for PHP

Displaying 20 results from an estimated 800 matches similar to: "Understanding API Documentation for PHP"

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
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
2015 Oct 04
4
Problem with old version of Samba - 2.2.7a
Hi all This is a question about a very old version of Samba - 2.2.7a. Hope that is ok. I have an old machine running Redhat 9, which ships with 2.2.7a. I have some old software that needs RH9, but I want to move it to a newer machine, so I am trying to reinstall RH9 on a new hdd, and set up Samba at the same time. I still have the old machine, and Samba is working, but I cannot get it
2015 Oct 04
1
Problem with old version of Samba - 2.2.7a
> "Rowland Penny" wrote in message news:561110D0.3050401 at gmail.com... > On 04/10/15 12:20, Frank Millman wrote: > > Hi all > > > > This is a question about a very old version of Samba - 2.2.7a. Hope that > > is ok. > > [...] > > > > Just what software is it that forces the use of a 12 year old distro and > using a long dead version
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb 1) Message box scrolls properly now 2) Blank lines are skipped when adding pizzas and ice cream _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Mar 19
3
How can I access an attribute via a symbol?
In my model I''d like to write a method that accesses the attributes by name. A very simple implementation would be class MyModel < ActiveRecord::Base def get_value(attribute) return value_of_attribute end end Then I can call it with m.get_value(:name) to get the value of the name column in the db. I''m not sure what to put in for
2004 May 22
10
Tabbing between Notebook pages
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: wxTony.rbw Type: application/octet-stream Size: 10436 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040522/9c1889d0/wxTony.obj
2006 Sep 18
16
Dynamic fields and AAF
Hi, I have a model which has properties, these are your standard name/value pairs, but also have attributes that affect how I want to store them in ferret. I was using 0.9.5 with 0.2 of aaf, which seemed fine, I just copied and pasted (yes, I know, ick) the to_doc method and added code to iterate though the properties that that model had, and add relavent fields to the document. It seems
2007 May 14
3
[Bug 567] ulogd writes invalid len field in per-packet headers
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=567 ------- Additional Comments From kaber@trash.net 2007-05-14 14:28 MET ------- There are two len fields, caplen and len. Which one is wrong? -- Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the
2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
Before this patch, Python would segfault once you pass a non-string key or value to node_set_value. It was also not possible to set bytes on Python 3 as Unicode was assumed (Python 2 was not affected by this). This patch fixes recognition of bytes for Python 3, but in addition it recognizes ints (includes 'long' in Python 2) for DWORD (LE + BE) and QWORDs. For this purpose, a new field
2007 Jun 15
1
TermGenerator in PHP4
(xapian 1.0.1) Should TermGenerator in the PHP4 bindings be called XapianTermGenerator? Thanks, Tim.
2008 May 03
2
sqlite3, inserting values in database
hi, i have a small form of textfields and i need to add these informations to a table in sqlite3 database. but i dont know how to do it. i mean that its small address book program. and ''id'' from ''clients'' table has to increments. i open database with : db = Database.open("data.db"), but then i dont know what to do... anyone can help? -- Posted via
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
2013 Feb 20
1
Sticky results
Hi there, I have a xapian index whose results are being sorted by a value, with (PHP bindings): $enquire->set_sort_by_value($sort_data_value); This is because I want the results returned in chronological order of publication date. However, I now have a need to have certain results be 'sticky' at the top of the resultset, regardless of their publication date. Obviously there are
2010 Jul 12
1
smbldap-groupmod problem
Hi, i'm having a problem with the smbldap-groupmod. I tried to change the users of some groups, i get an error message. The action indeed execute, as the users was removed or added from the group, but an error is throwed in the output: server:~# smbldap-groupmod -x user1 -m user2 testgroup Can't call method "get_value" on an undefined value at
2004 Jul 22
1
vampire failed for undefiled value sambaSID
Greetings! Vampaire process is running, but it failed create accounts for everyone. The error message is "Can't call method "get_value" on an undefined value at /var/lib/samba/sbin/smbldap-useradd.pl line 152." And I looked at the mentioned file and the line is $userGroupSID = $group_entry->get_value('sambaSID'); I am
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 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
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
After I ran my program through Rubyscript2exe, the Random.exe file that it created is causing the following error: D:\Ruby projects>random.exe C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\app\Random.rb:59: undefined method ''ru n'' for Wxruby2::App (NoMethodError) from C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\bootstrap.rb:77:in `load'' from