Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
slixmpp
slixmpp
  • Before starting…
  • Getting Started (with examples)
    • Slixmpp Quickstart - Echo Bot
    • Sign in, Send a Message, and Disconnect
    • Create and Run a Server Component
    • Manage Presence Subscriptions
    • Multi-User Chat (MUC) Bot
    • Send a Message Every 5 Minutes
    • Send/Receive IQ Stanzas
  • Tutorials, FAQs, and How To Guides
    • How to Work with Stanza Objects
    • Creating a Slixmpp Plugin
    • Flexible internal API usage
    • How to Use Stream Features
    • How SASL Authentication Works
    • How to remove xmpp.process()
    • Using Stream Handlers and Matchers
    • XEP-0030: Working with Service Discovery
    • Use Encryption Correctly
    • Following XMPP: The Definitive Guide
  • API Reference
    • ClientXMPP
    • ComponentXMPP
    • BaseXMPP
    • Exceptions
    • Jabber IDs (JID)
    • Stanza Objects
    • Stanza Handlers
    • Stanza Matchers
    • XML Stream
    • XML Serialization
    • Internal “API”
  • Core Stanzas
    • Root Stanza
    • Message Stanza
    • Presence Stanza
    • IQ Stanza
  • Event Index
  • Dedicated PubSub Events
  • Coming from SleekXMPP
    • Differences from SleekXMPP
    • Using asyncio
  • Slixmpp Architecture
  • Plugin index
    • XEP-0004: Data Forms
    • XEP-0009: Jabber-RPC
    • XEP-0012: Last Activity
    • XEP-0013: Flexible Offline Message Retrieval
    • XEP-0016: Privacy Lists
    • XEP-0020: Feature Negotiation
    • XEP-0027: Current Jabber OpenPGP Usage
    • XEP-0030: Service Discovery
    • XEP-0033: Extended Stanza Addressing
    • XEP-0045: Multi-User Chat
    • XEP-0047: In-band Bytestreams
    • XEP-0048: Bookmarks
    • XEP-0049: Private XML Storage
    • XEP-0050: Ad-Hoc Commands
    • XEP-0054: vcard-temp
    • XEP-0055: Jabber search
    • XEP-0059: Result Set Management
    • XEP-0060: Publish-Subscribe
    • XEP-0065: SOCKS5 Bytestreams
    • XEP-0066: Out of Band Data
    • XEP-0070: Verifying HTTP Requests via XMPP
    • XEP-0071: XHTML-IM
    • XEP-0077: In-Band Registration
    • XEP-0078: Non-SASL Authentication
    • XEP-0079: Advanced Message Processing
    • XEP-0080: User Location
    • XEP-0082: XMPP Date and Time Profiles
    • XEP-0084: User Avatar
    • XEP-0085: Chat State Notifications
    • XEP-0086: Error Condition Mappings
    • XEP-0091: Legacy Delayed Delivery
    • XEP-0092: Software Version
    • XEP-0095: Stream Initiation
    • XEP-0096: SI File Transfer
    • XEP-0100: Gateway interaction
    • XEP-0106: JID Escaping
    • XEP-0107: User Mood
    • XEP-0108: User Activity
    • XEP-0115: Entity Capabilities
    • XEP-0118: User Tune
    • XEP-0122: Data Forms Validation
    • XEP-0128: Service Discovery Extensions
    • XEP-0131: Stanza Headers and Internet Metadata
    • XEP-0133: Service Administration
    • XEP-0152: Reachability Addresses
    • XEP-0153: vCard-Based Avatars
    • XEP-0163: Personal Eventing Protocol (PEP)
    • XEP-0172: User Nickname
    • XEP-0184: Message Delivery Receipts
    • XEP-0186: Invisible Command
    • XEP-0191: Blocking Command
    • XEP-0196: User Gaming
    • XEP-0198: Stream Management
    • XEP-0199: XMPP Ping
    • XEP-0202: Entity Time
    • XEP-0203: Delayed Delivery
    • XEP-0221: Data Forms Media Element
    • XEP-0222: Persistent Storage of Public Data via PubSub
    • XEP-0223: Persistent Storage of Private Data via PubSub
    • XEP-0224: Attention
    • XEP-0231: Bits of Binary
    • XEP-0234: Jingle File Transfer
    • XEP-0235: OAuth Over XMPP
    • XEP-0242: XMPP Client Compliance 2009
    • XEP-0249: Direct MUC Invitations
    • XEP-0256: Last Activity in Presence
    • XEP-0257: Client Certificate Management for SASL EXTERNAL
    • XEP-0258: Security Labels in XMPP
    • XEP-0264: Jingle Content Thumbnails
    • XEP-0270: XMPP Compliance Suites 2010
    • XEP-0279: Server IP Check
    • XEP-0280: Message Carbons
    • XEP-0292: vCard4 Over XMPP
    • XEP-0297: Stanza Forwarding
    • XEP-0300: Use of Cryptographic Hash Functions in XMPP
    • XEP-0302: XMPP Compliance Suites 2012
    • XEP-0308: Last Message Correction
    • XEP-0313: Message Archive Management
    • XEP-0317: Hats
    • XEP-0319: Last User Interaction in Presence
    • XEP-0323 Internet of Things - Sensor Data
    • XEP-0325 Internet of Things - Control
    • XEP-0332: HTTP over XMPP transport
    • XEP-0333: Chat Markers
    • XEP-0334: Message Processing Hints
    • XEP-0335: JSON Containers
    • XEP-0352: Client State Indication
    • XEP-0353: Jingle Message Initiation
    • XEP-0356: Privileged Entity
    • XEP-0359: Unique and Stable Stanza IDs
    • XEP-0363: HTTP File Upload
    • XEP-0369: MIX-CORE
    • XEP-0372: References
    • XEP-0377: Spam Reporting
    • XEP-0380: Explicit Message Encryption
    • XEP-0382: Spoiler Messages
    • XEP-0385: Stateless Inline Media Sharing (SIMS)
    • XEP-0394: Message Markup
    • XEP-0402: PEP Native Bookmarks
    • XEP-0403: MIX-Presence
    • XEP-0404: MIX-ANON
    • XEP-0405: MIX-PAM
    • XEP-0410: MUC Self-Ping (Schrödinger’s Chat)
    • XEP-0421: Anonymous unique occupant identifiers for MUCs
    • XEP-0422: Message Fastening
    • XEP-0424: Message Retraction
    • XEP-0425: Moderated Message Retraction
    • XEP-0428: Fallback Indication
    • XEP-0437: Room Activity Indicators
    • XEP-0439: Quick Response
    • XEP-0441: Message Archive Management Preferences
    • XEP-0444: Message Reactions
    • XEP-0446: File metadata element
    • XEP-0447: Stateless File Sharing
    • XEP-0449: Stickers
    • XEP-0454: OMEMO Media Sharing
    • XEP-0455: Service Outage Status
    • XEP-0461: Message Replies
    • XEP-0462: PubSub Type Filtering
    • XEP-0463: MUC Affiliation Versioning
    • XEP-0469: Bookmark Pinning
    • XEP-0482: Call Invites
    • XEP-0490: Message Displayed Synchronization
    • XEP-0492: Chat Notification Settings
    • XEP-0494: Client Access Management
    • XEP-0502: MUC Activity Indicator
    • XEP-0511: Link Metadata
    • XEP-0513: Explicit Mentions
  • Glossary
  • License (MIT)
  • Projects Using Slixmpp
Back to top
View this page

XEP-0055: Jabber search¶

XEP-0055 on xmpp.org

class slixmpp.plugins.xep_0055.XEP_0055(xmpp, config=None)[source]¶

XEP-0055: Jabber Search

The config options are only useful for a “server-side” search feature, and if the provide_search option is set to True.

API:

  • search_get_form: customize the search form content (ie fields)

  • search_query: return search results

default_config: ClassVar[dict[str, Any]] = {'form_fields': {'first', 'last'}, 'form_instructions': '', 'form_title': '', 'provide_search': True}¶

The basic, standard configuration for the plugin, which may be overridden when initializing the plugin. The configuration fields included here may be accessed directly as attributes of the plugin. For example, including the configuration field ‘foo’ would mean accessing plugin.foo returns the current value of plugin.config[‘foo’].

Stanza elements¶

class slixmpp.plugins.xep_0055.stanza.Search(xml=None, parent=None)[source]¶
interfaces: ClassVar[set[str]] = {}¶

The set of keys that the stanza provides for accessing and manipulating the underlying XML object. This set may be augmented with the plugin_attrib value of any registered stanza plugins.

name: ClassVar[str] = 'query'¶

The XML tag name of the element, not including any namespace prefixes. For example, an ElementBase object for <message /> would use name = 'message'.

namespace: str = 'jabber:iq:search'¶

The XML namespace for the element. Given <foo xmlns="bar" />, then namespace = "bar" should be used. The default namespace is jabber:client since this is being used in an XMPP library.

plugin_attrib: ClassVar[str] = 'search'¶

For ElementBase subclasses which are intended to be used as plugins, the plugin_attrib value defines the plugin name. Plugins may be accessed by using the plugin_attrib value as the interface. An example using plugin_attrib = 'foo':

register_stanza_plugin(Message, FooPlugin)
msg = Message()
msg['foo']['an_interface_from_the_foo_plugin']
Next
XEP-0059: Result Set Management
Previous
XEP-0054: vcard-temp
Copyright © 2026, Mathieu Pasquet, Maxime Buquet, Emmanuel Gil Peyrot, Florent Le Coz
Made with Sphinx and @pradyunsg's Furo
On this page
  • XEP-0055: Jabber search
    • XEP_0055
      • XEP_0055.default_config
    • Stanza elements
      • Search
        • Search.interfaces
        • Search.name
        • Search.namespace
        • Search.plugin_attrib