Skip to main content
Version: ILLiad 10.0 (Pre-release) 🚧

Search Configuration for Administrators

Overview

The ILLiad web client search service provides fast, powerful searching across your library's interlibrary loan data. As an administrator, you can monitor search health, rebuild indexes when needed, and troubleshoot any issues that arise.

Staff Web Client Administration

The ILLiad Indexing Service

Starting with ILLiad 10, advanced search functionality is available in the ILLiad web client, powered by the ILLiad Indexing Service. This Windows service runs continuously in the background, creating and maintaining search indexes - specialized data structures that enable lightning-fast searches by pre-organizing your ILLiad data for quick retrieval, similar to an index in a book. The service:

  • 🌐 Powers web client search - advanced search is only available in the web client
  • 🔄 Installs automatically with ILLiad 10 - no separate installation needed
  • 🚀 Starts automatically when Windows starts
  • 📊 Manages all search indexes for transactions, users, and lender addresses
  • Updates indexes in real-time as data changes
  • 🛡️ Runs independently from the ILLiad web application for better reliability
Note for upgrades

If you're upgrading from ILLiad 9.x, the new indexing service will be installed automatically and will build your initial indexes during the first startup. This process may take some time depending on your database size.

How Search Works in ILLiad

Automatic Index Updates

Your search indexes stay current automatically:

  • Updates every minute: The system checks for changes every 60 seconds
  • 📦 Smart batching: Processes up to 1,000 records at a time for efficiency
  • 🛡️ Protection built-in: Prevents accidental mass deletions (blocks if more than 100 deletions detected)
  • 🔧 Self-healing: Automatically rebuilds corrupted indexes
Key Point

Search indexing runs automatically in the background. You typically don't need to intervene unless troubleshooting an issue.

What Gets Indexed

Three types of data are indexed for searching:

  1. Transactions: All ILL requests and their details
  2. Users: Patron information for quick lookups
  3. Lender Addresses: Library and supplier contact information

Accessing Index Management

Getting to the Admin Interface

Step 1: Sign In with Administrator Access

You'll need Staff Manager permissions to access the index management panel in the web client.

Step 2: Navigate to Index Management

  1. Click the Staff Administration link in the staff menu next to the search bar at the top of the ILLiad web client
  2. Select Index Management from the tabs on the Staff Administration page
  3. You'll see the Search Index Status

Understanding the Dashboard

The Search Index Status shows real-time status for all three indexes:

Search Index Status

For each index, you can see:

  • Health Status: Green means healthy, red indicates issues
  • 📊 Document Count: Total records in the index
  • 💾 Size: The disk space occupied by the index on the server
  • 🔄 Last Update: When the index last updated

Managing Search Indexes

When to Rebuild Indexes

You typically only need to rebuild indexes in these situations:

  • 🔴 Red status indicator appears on the dashboard
  • 🐌 Search seems unusually slow despite normal usage
  • 📉 Document counts seem incorrect (significantly different from database)
  • 🆕 After major ILLiad upgrade (usually handled automatically)
  • 🔧 Atlas Systems support recommendation

How to Rebuild an Index

Step 1: Open Index Management

Navigate to the Index Management panel in the ILLiad web client as described above.

Step 2: Choose Which Index to Rebuild

Look at the three index cards and identify which needs rebuilding.

Step 3: Start the Rebuild
  1. Click the Rebuild button on the affected index card
  2. A confirmation dialog will appear
  3. Click Yes, Rebuild to proceed

Confirm Index Rebuild

Step 4: Monitor Progress

The dashboard immediately shows the rebuild status with automatic updates:

  • Immediate feedback: Status shows "Pending" right after clicking rebuild
  • Quick first check: The system checks status after just 1 second
  • Smart polling: Checks become less frequent over time (1s → 2s → 4s → 8s → 10s) to reduce server load
  • Live status updates: Watch as status progresses from "Pending" → "Processing" → "Completed"
  • Automatic grid refresh: The Command Queue at the bottom updates automatically when the rebuild starts and completes

Index Rebuild Status Processing

Rebuild Duration

Rebuild times vary based on your database size, server hardware, and current system load. Smaller databases typically complete in several minutes, while larger databases may take longer. The system processes records in batches of 1,000 for optimal performance.

📊 Command Queue Updates: The Command Queue grid at the bottom of the page automatically refreshes to show your rebuild command when it's queued and again when it completes - no manual refresh needed!

important

Users can continue searching during a rebuild. The system will automatically fall back to SQL-based searching if the index is unavailable, though searches may be slower and lack advanced features like faceting.

Method 2: Using Command Line (Advanced)

For system administrators comfortable with command-line tools:

  1. Open Command Prompt as Administrator

  2. Navigate to ILLiad installation directory:

    cd C:\Program Files\ILLiad
  3. Run the rebuild command:

    AtlasSystems.ILLiad.IndexingService.exe --console --rebuild=ILL

    You'll see progress messages in the console as the rebuild proceeds.

Scheduling Regular Maintenance

While not usually necessary, some libraries prefer scheduled rebuilds:

Setting Up a Weekly Rebuild

  1. Open Windows Task Scheduler
  2. Create a new task named "ILLiad Index Rebuild"
  3. Set trigger for your preferred time (e.g., Sunday 2 AM)
  4. Set action to run the rebuild command
  5. Save and test the task
tip

Schedule rebuilds during low-usage hours to minimize any impact, though users can still search during rebuilds.

Monitoring Index Health

Daily Health Checks

A quick daily check takes just 30 seconds:

  1. Open the Search Index Status
  2. Look for green status indicators on all three cards
  3. Check the last update times (should be within the last few minutes)

Performance Metrics

Scroll to the Performance Metrics section to see search statistics:

Performance Metrics Panel

Key metrics to watch:

  • 📊 Documents Indexed: Total number of records in each index
  • Indexing Throughput: Documents processed per second during updates
  • Success Rate: Percentage of successful indexing operations
  • 💾 Index Size on Disk: Storage space used by each index

Configuration Settings

Where Settings Live

Search configuration is stored in your ILLiad installation:

  • Primary location: C:\ILLiad\appsettings.json
  • Backup before changes: Always keep a copy before editing
warning

Most search settings are managed automatically by ILLiad. Only modify settings when directed by Atlas Systems support.

Settings You Might Need to Verify

Index Storage Locations

The only settings you typically need to check are where indexes are stored:

SettingDefault ValueWhat It Does
IndexBasePathC:\ILLiad\Search\IndexesWhere search indexes are stored
TaxonomyBasePathC:\ILLiad\Search\TaxonomyWhere category data is stored for post-search faceting

To verify these locations:

  1. Open Windows Explorer
  2. Navigate to the paths shown above
  3. Confirm folders exist and have content
  4. Check available disk space (recommended minimums below)

Disk Space Requirements

The search indexes (covering transactions, users, and lender addresses) typically require:

  • Small libraries (< 100,000 total records): 2-5 GB
  • Medium libraries (100,000 - 500,000 total records): 5-15 GB
  • Large libraries (> 500,000 total records): 15-30 GB or more
Rule of thumb

Plan for indexes to use approximately 10-20% of your ILLiad database size, plus 20% overhead for rebuilds and temporary files. For example, a 50GB database might need 5-10GB for indexes plus 2GB for rebuild operations. This space covers all three indexes: transactions, users, and lender addresses.

How the System Handles Updates

Understanding automatic behavior helps you troubleshoot:

What HappensHow OftenWhat It Means for You
Check for changesEvery 60 secondsRecent changes appear quickly in search
Process updatesUp to 1,000 records at onceLarge batches are handled efficiently
Protect against errorsBlocks mass deletions > 100Your data is protected
Auto-recoverWhen corruption detectedLess manual intervention needed
Commit index changesEvery 30 secondsIndex updates are written to disk regularly

Security and Permissions

Required File Permissions

The ILLiad installer automatically configures proper permissions for your chosen index location during installation. Whether you use the default path (C:\ILLiad\Search\) or specify a custom location during setup, the installer handles all necessary permissions.

Permissions Set by Installer

The following permissions are automatically configured for your index folders:

AccountRequired PermissionWhy It's Needed
ILLiad Service AccountFull ControlCreates and updates indexes
IIS_IUSRSReadWeb interface searches indexes
AdministratorsFull ControlMaintenance and troubleshooting

If You Change Index Location After Installation

If you later change the index path in appsettings.json after installation:

  1. Create the new folder if it doesn't exist
  2. Right-click the new Search folder
  3. Select PropertiesSecurity tab
  4. Add the accounts listed above with their required permissions
  5. Test search functionality to verify permissions are correct
warning

Moving indexes after installation requires manual permission configuration. The installer only sets permissions during initial setup.

Securing Administrative Access

Only trusted staff should access index management:

  1. Review Staff Manager Permissions
    • Use the ILLiad Staff Manager application to manage Staff Manager permissions
    • Check which staff accounts have access to the Staff Manager
    • Remove unnecessary access through Staff Manager
    • Note: Staff Manager role management is not available in the web client

Troubleshooting Common Issues

Issue: Search Returns No Results

What you'll see: Users report searches returning empty results despite data existing

Quick Checks:

  1. ✅ Check Search Index Status - look for red indicators
  2. ✅ Verify document counts match expectations
  3. ✅ Check last update time (should be recent)

Solution:

  1. Try rebuilding the affected index
  2. Check Windows Event Viewer for errors
  3. Verify Indexing Service is running in Services (look for "ILLiad Indexing Service")

Issue: Search is Slow

What you'll see: Searches take several seconds instead of milliseconds

Quick Checks:

  1. 💾 Verify adequate disk space (need 20% free minimum)
  2. 🔄 Check when last rebuild occurred

Solution:

  1. Rebuild indexes if older than 6 months
  2. Check server resources (CPU, memory, disk I/O)
  3. Consider scheduling rebuild during off-hours

Issue: Index Won't Rebuild

What you'll see: Rebuild button clicked but status stays at "Pending" or doesn't update

Quick Checks:

  1. 💾 Verify disk space available
  2. 🔒 Check file permissions on index folders
  3. ✅ Verify the Indexing Service is running in Windows Services
  4. 📝 Review error logs
  5. 🔄 Check the Command Queue grid - it should show your rebuild command

Solution:

  1. If status stays "Pending" for more than 5 minutes:
    • Check if ILLiad Indexing Service is running
    • Restart the Indexing Service if needed
  2. If the rebuild starts but fails:
    • Check available disk space
    • Review error messages in the Command Queue
  3. For persistent issues:
    • Stop ILLiad services
    • Delete contents of C:\ILLiad\Search\Indexes (backup first!)
    • Restart services - indexes rebuild automatically
  4. Contact Atlas Systems support if issue persists

What you'll see: Recently added/edited records don't show in search results

Quick Checks:

  1. ⏰ Wait 2 minutes (normal update cycle)
  2. ✅ Verify Indexing Service is running
  3. 📊 Check last update time on dashboard

Solution:

  1. Check Windows Services for Indexing Service status
  2. Restart Indexing Service if stopped
  3. Force immediate update via dashboard
  4. Check database connectivity if persistent

Advanced Administration

Using API Commands (For IT Staff)

For automated monitoring or integration with other systems:

Check Index Status via API

GET https://your-illiad-server/ILLiad/Search/Admin/Status
Authorization: Bearer [your-api-token]

Returns JSON with current index health and statistics, for example:

{
"transaction": {
"health": true,
"documentCount": 245892,
"lastUpdate": "2024-01-15T14:30:45Z"
},
"user": {
"health": true,
"documentCount": 15234,
"lastUpdate": "2024-01-15T14:30:45Z"
},
"lenderAddress": {
"health": true,
"documentCount": 3456,
"lastUpdate": "2024-01-15T14:30:45Z"
}
}

Trigger Rebuild via API

POST https://your-illiad-server/ILLiad/Search/Admin/Commands
Authorization: Bearer [your-api-token]
Content-Type: application/json

{
"CommandType": "Rebuild",
"TargetIndex": "Transaction"
}
Use Cases

Integrate with monitoring systems, automate rebuilds after data imports, or create custom admin tools.

Command Queue Monitoring

The Command Queue provides real-time visibility into all index operations:

Automatic Updates

The Command Queue grid refreshes automatically at key moments:

  • When you start a rebuild: New command appears immediately with "Pending" status
  • When rebuild completes: Final status shows "Completed" or "Failed"
  • 🚫 On any errors: Failed commands appear with error details

Note: The grid refreshes when commands are created and completed. Status changes during processing (like "Pending" to "Processing") are visible in the index card above but don't trigger a grid refresh.

Viewing the Queue

  1. The Command Queue appears at the bottom of the Index Management page
  2. Shows all recent, active, and completed commands
  3. Filter by status, command type, or date range
  4. No manual refresh needed - updates happen automatically!

Command Queue

tip

The grid refreshes without losing your place or resetting filters - you can watch progress in real-time while continuing to work.

Interpreting Log Files

When troubleshooting, check logs at:

  • Location: C:\ILLiad\Logs\IndexingService.log
  • What to look for:
    • ERROR entries for failures
    • WARNING entries for issues
    • INFO entries for normal operations

Example healthy log entry:

2024-01-15 14:30:45 INFO - Incremental update completed: 47 changes processed in 1.2 seconds

Example problem entry:

2024-01-15 14:35:12 ERROR - Index rebuild failed: Insufficient disk space

Multi-Site Considerations

Shared Index Architecture

All your ILLiad sites share the same search indexes:

  • 🌐 One set of indexes serves all sites
  • 🔒 NVTGC filtering automatically applied based on user's site
  • Better performance than separate indexes per site

How it works: Main Library, Medical Library, and Law Library all connect to a single Search Index. When users search, NVTGC filtering automatically applies to show only their site's data.

Site-Specific Rebuild Considerations

When rebuilding indexes in multi-site environment:

  1. All sites affected during rebuild (but can still search)
  2. Rebuild includes all sites' data automatically
  3. No site-specific rebuild option (always rebuilds everything)

Best Practices

Daily Tasks (30 seconds)

✅ Quick visual check of Search Index Status ✅ Note any red status indicators ✅ Verify recent update times

Weekly Tasks (5 minutes)

✅ Review Performance Metrics panel ✅ Check disk space availability ✅ Review any error notifications

Monthly Tasks (15 minutes)

✅ Check Windows Event Viewer for warnings ✅ Review command queue history ✅ Test rebuild process (if desired)

Before Major Updates

✅ Document current index statistics ✅ Backup index folders (optional) ✅ Plan for post-update rebuild if needed ✅ Notify users of any expected downtime

Performance Optimization Tips

Keep Searches Fast

  1. Regular Maintenance

    • Monthly rebuilds aren't necessary but won't hurt
    • Only rebuild when issues occur or performance degrades
  2. Monitor Disk Performance

    • SSDs dramatically improve search speed
    • Keep 20% disk space free minimum
    • Defragment drives monthly (if using HDDs)
  3. Server Resources

    • Ensure adequate RAM for your database size and concurrent users
    • Monitor CPU usage during peak times
    • Consider dedicated resources for large libraries

Getting Help

When to Contact Support

Contact Atlas Systems support when:

  • 🔴 Persistent red status after rebuild attempts
  • 🐌 Search performance doesn't improve after optimization
  • ❌ Rebuild fails repeatedly
  • ❓ Unusual behavior not covered in this guide

Information to Gather Before Calling

Have this ready to speed up support:

  1. Screenshots of Search Index Status
  2. Error messages from logs or screen
  3. Recent changes to system or data
  4. ILLiad version number
  5. Document counts from dashboard
  6. When issue started and frequency

Support Resources

Quick Reference

Essential Paths and Files

ItemDefault LocationPurpose
IndexesC:\ILLiad\Search\IndexesSearch index files
TaxonomyC:\ILLiad\Search\TaxonomyCategory data
ConfigurationC:\ILLiad\appsettings.jsonSettings file
LogsC:\ILLiad\LogsError and activity logs
ServiceServices.msc → ILLiad Indexing ServiceWindows service

Health Status Indicators

IndicatorMeaningAction Required
🟢 GreenHealthy, working normallyNone
🔴 RedMajor issue, degraded functionRebuild recommended

Summary

Managing ILLiad search is straightforward:

  • Mostly automatic - the system handles routine updates
  • 👀 Monitor regularly - quick daily dashboard checks
  • 🔧 Rebuild when needed - simple button click to fix most issues
  • 📞 Support available - Atlas Systems can help with complex issues

The search system is designed to be self-maintaining. Your main role is monitoring health and triggering rebuilds when necessary. With these tools and knowledge, you can ensure your users always have fast, reliable search capabilities.