SearchMemories

Search memory FILES by content to discover your [[concepts]] and knowledge. This tool provides full-text search across your Maenifold knowledge base with intelligent scoring, snippet extraction, and flexible filtering options. Essential for knowledge discovery before creating new content or finding existing solutions.

When to Use This Tool

Key Features

Parameters

ParameterTypeRequiredDescriptionExample
querystringYesSearch terms - looks in FILE contents”neural networks transformer”
pageSizeintNoMax FILES to return (default: 10)15
pageintNoPage number for results (default: 1)2
folderstringNoFilter by folder path”research/ai”
tagsstring[]NoFilter by tags (must match all)[“machine-learning”, “research”]

Usage Examples

{
  "query": "GraphRAG implementation",
  "pageSize": 10
}

Finds all files containing “GraphRAG” and “implementation” with relevance scoring and snippet extraction.

{
  "query": "transformer attention mechanism",
  "folder": "research/deep-learning",
  "pageSize": 15
}

Searches only within the deep-learning research folder for transformer-related content.

Tag-Based Knowledge Discovery

{
  "query": "optimization performance",
  "tags": ["csharp", "performance"],
  "pageSize": 8
}

Finds performance optimization content specifically tagged for C# development.

Concept Exploration

{
  "query": "[[Neural Networks]]",
  "pageSize": 20
}

Discovers all files containing the specific Neural Networks concept with WikiLink formatting.

Paginated Results

{
  "query": "machine learning",
  "pageSize": 5,
  "page": 3
}

Retrieves the third page of machine learning search results with 5 files per page.

Broad Knowledge Survey

{
  "query": "debugging troubleshooting",
  "folder": "solutions"
}

Explores all problem-solving content in the solutions folder.

Common Patterns

Pre-Creation Knowledge Check

Before using WriteMemory, search for existing knowledge to avoid duplication and build on existing concepts.

Research Context Building

Search for background knowledge before starting new analysis or Sequential Thinking sessions.

Solution Discovery

Search for “error”, “fix”, “solution”, or specific error messages to find documented solutions.

Concept Relationship Exploration

Search for specific [[concept]] names to find all files that reference or discuss that concept.

Project-Specific Knowledge Access

Use folder filtering to search within specific project or research areas.

Tag-Based Content Curation

Combine tag filtering with content search for highly targeted knowledge discovery.

Search Strategy Guide

Effective Query Construction

Result Interpretation

Search Refinement

Troubleshooting

No Results Found

Cause: Search terms don’t match existing content or folder doesn’t exist
Solution: Try broader terms, check folder path spelling, or search without folder filtering

Results Don’t Match Expectations

Cause: Search terms may be too generic or specific concepts use different terminology
Solution: Try related terms, search for [[concept]] names, or use tag filtering for categorical results

Pagination Errors

Cause: Requesting page beyond available results
Solution: Check total results count in response and adjust page parameter accordingly

Missing Recent Files

Cause: Knowledge graph may need rebuilding after recent WriteMemory operations
Solution: Run Sync tool to update concept extraction and ensure all files are indexed

Tag Filtering No Results

Cause: All specified tags must be present on files (AND logic, not OR)
Solution: Reduce tag requirements or search each tag separately to understand content distribution

Score Seems Low for Relevant Content

Cause: Search terms may not appear frequently or in titles
Solution: Try searching for [[concept]] names or key phrases that likely appear in titles

Search Scoring Algorithm

SearchMemories uses a simple but effective scoring system:

Performance Characteristics

Knowledge Graph Integration

SearchMemories works seamlessly with Maenifold’s knowledge graph:

This tool serves as the primary entry point for knowledge discovery in your Maenifold system, enabling efficient exploration of accumulated knowledge before creation of new content or analysis.

Ma Protocol Compliance

SearchMemories follows Maenifold’s Ma Protocol principles:

The tool provides reliable knowledge discovery without unnecessary complexity, supporting the Maenifold philosophy of augmented intelligence through persistent, searchable knowledge.