Package gavo :: Package web :: Module jsonquery :: Class ByFulltext
[frames] | no frames]

Class ByFulltext

source code

                   object --+                
                            |                
       nevow.rend.DataFactory --+            
                                |            
                   object --+   |            
                            |   |            
     nevow.rend.RenderFactory --+            
                                |            
                   object --+   |            
                            |   |            
      nevow.rend.MacroFactory --+            
                                |            
                   object --+   |            
                            |   |            
 nevow.rend.ConfigurableMixin --+            
                                |            
              nevow.rend.Fragment --+        
                                    |        
   nevow.rend.ConfigurableFactory --+        
                                    |        
nevow.rend.FreeformChildMixin --+   |        
                                |   |        
      nevow.rend.ChildLookupMixin --+        
                                    |        
                      nevow.rend.Page --+    
                                        |    
                                JSONQuery --+
                                            |
                                           ByFulltext

Instance Methods

Inherited from JSONQuery: renderHTTP

Inherited from nevow.rend.Page: __provides__, child_, flattenFactory, onPostFailure, onPostSuccess, rememberStuff, renderString, renderSynchronously, webFormPost

Inherited from nevow.rend.Fragment: __init__, get, remember, rend

Inherited from nevow.rend.DataFactory: __providedBy__, child

Inherited from nevow.rend.RenderFactory: render_data, render_mapping, render_sequence, render_string, render_xml, renderer

Inherited from nevow.rend.MacroFactory: macro

Inherited from nevow.rend.ConfigurableMixin: getBinding, getBindingNames, getDefault, postForm

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from nevow.rend.ConfigurableFactory: configurable_, configurable_original, locateConfigurable

Inherited from nevow.rend.ChildLookupMixin: childFactory, locateChild, putChild

Inherited from nevow.rend.FreeformChildMixin: child_freeform_hand

Class Variables
  query = 'SELECT DISTINCT title, accessurl, referenceurl, sourc...

Inherited from nevow.rend.Page: __implemented__, addSlash, afterRender, beforeRender, buffered

Inherited from nevow.rend.Fragment: docFactory, original

Inherited from nevow.rend.ChildLookupMixin: children

Properties

Inherited from object: __class__

Class Variable Details

query

Value:
'SELECT DISTINCT title, accessurl, referenceurl, sourcerd, resid, owne\
r, browseable FROM dc.resources   NATURAL JOIN dc.interfaces   NATURAL\
 JOIN dc.subjects   NATURAL JOIN dc.sets WHERE setname=\'local\' AND N\
OT deleted AND (to_tsvector(\'english\', description) || to_tsvector(s\
ubject)    || to_tsvector(\'english\', title) || to_tsvector(authors))\
  @@ plainto_tsquery(%(q)s) ORDER BY title'