XWiki - Data Source

The XWiki data source connects to an XWiki wiki and indexes its spaces and pages for AI-powered search and analysis. Once connected, you can ask natural language questions over your wiki content.

Access

Note
To access the creation page, check the Create an AI Assistant section!

Adding an XWiki Data Source

Click XWiki to add an XWiki wiki as a data source. The process has two steps:

xwiki add connector

Step 1: Connect to XWiki

Provide your XWiki connection details so QAnswer can authenticate against the wiki using basic authentication.

Connection Fields

  • xWiki base URL (required): The base URL of your XWiki instance, e.g. https://wiki.example.com
  • xWiki username (required): The username used to log in to XWiki
  • Password (required): The password for that XWiki user
  • Wiki name (optional): The name of the wiki to index. Defaults to "xwiki" when left empty.

Click Connect to verify the credentials against your wiki. If they are valid, you move on to selecting content.

xwiki connect
Security Note
Your XWiki credentials are encrypted and stored securely. They are reused for future synchronizations so you do not have to enter them again.

Step 2: Select Spaces and Pages to Index

After connecting, the wiki's spaces are listed. You can:

  • Check a space to include the entire space, along with its pages and sub-spaces.
  • Expand a space and check individual pages to index only a specific selection.
xwiki space selection

Once your selection is made, click Finish to start indexing the selected content in the background.

Best Practices
  • Start with a single space to validate indexing before adding the whole wiki.
  • Select only the spaces relevant to your assistant to keep results focused.

Adding Files to an Existing Connector

To add more content to a wiki you already connected, open the connector and click Add files QAnswer reuses the credentials you saved earlier, so the credentials step is skipped.

xwiki connector add new files
Info
Because the stored credentials are reused, you are taken straight to the list of spaces and pages — no need to re-enter your XWiki username and password. If the saved credentials are no longer valid, you are returned to the connection step to update them.

Updating Indexed Pages

Use the Update Files action on the connector to re-ingest the pages you selected whose XWiki version changed since the last run, keeping your index up to date.

xwiki connector update files

View Source

Click the Open xWiki page icon next to any result to navigate directly to the original page in your xWiki instance.

xwiki connector view source

Troubleshooting

Connection Failed

  • Verify the base URL points to your XWiki instance and is reachable.
  • Check that the username and password are correct and the account is enabled.
  • Confirm the wiki name matches an existing wiki (defaults to "xwiki").

No Spaces or Pages Listed

  • Ensure the XWiki user has read access to the spaces you expect to see.
  • Some spaces may be empty or hidden; expand a space to check for individual pages.

Next Steps

After adding the XWiki data source:

  1. Configure your AI Assistant settings.
  2. Set up access rights for team members.
  3. Test search functionality with sample queries.