Search Parameter Flags¶
Complete documentation for all search parameter flags in Lixplore
Table of Contents¶
- Overview
- Query Search
- Author Search
- DOI Search
- Result Limiting
- Boolean Operators Guide
- Best Practices
Overview¶
Search parameter flags define what to search for and how many results to retrieve. Lixplore supports three types of searches: query search with Boolean operators, author search, and DOI lookup.
Total Search Flags: 4
Search Types¶
- Query Search - Text search with Boolean operators (AND, OR, NOT)
- Author Search - Search by author name
- DOI Search - Direct DOI lookup
- Result Limiting - Control number of results per source
Query Search¶
-q, --query¶
Description: Search query string with support for Boolean operators and advanced syntax.
Syntax:
Type: String value (required for search)
Default: None
Boolean Operators:
- AND - Both terms must be present
- OR - Either term must be present
- NOT - Exclude term
- () - Group terms for complex queries
Examples¶
Example 1: Simple Query
Search for articles containing "cancer treatment" phrase.Example 2: AND Operator
Find articles that mention both diabetes AND obesity.Example 3: OR Operator
Find articles mentioning either cancer OR tumor.Example 4: NOT Operator
Find diabetes articles excluding type 1 diabetes.Example 5: Complex Query with Parentheses
Advanced query: (cancer OR tumor) combined with (treatment OR therapy).Example 6: Multi-Source with Boolean
Search all sources for COVID-19 vaccines or treatments, deduplicate, sort by newest.Example 7: Field-Specific Search (PubMed)
PubMed-specific: Author Smith J with cancer in title.Example 8: Date-Filtered Query
Search with date range filter for recent ML papers.Example 9: Query with Export
Search and export quantum computing papers to BibTeX.Example 10: Multi-Term Complex Query
Highly specific query for BRCA-related breast/ovarian cancer.Query Syntax Tips¶
1. Phrase Matching:
# Exact phrase (use quotes in your query string)
lixplore -P -q "machine learning" -m 10
# Individual words
lixplore -P -q "machine OR learning" -m 10
2. Boolean Logic:
# AND (both required)
lixplore -P -q "cancer AND treatment" -m 10
# OR (either acceptable)
lixplore -P -q "cancer OR tumor" -m 10
# NOT (exclude)
lixplore -P -q "diabetes NOT type2" -m 10
3. Grouping with Parentheses:
# Group related terms
lixplore -P -q "(lung OR breast) AND cancer" -m 10
# Nested groups
lixplore -P -q "((A OR B) AND C) NOT D" -m 10
4. PubMed Field Tags:
# Author field
lixplore -P -q "Smith J[Author]" -m 10
# Title field
lixplore -P -q "diabetes[Title]" -m 10
# Title/Abstract
lixplore -P -q "CRISPR[Title/Abstract]" -m 10
Tips¶
- Use quotes around entire query:
-q "your query here" - Boolean operators must be UPPERCASE (AND, OR, NOT)
- Parentheses allow complex logic
- Field tags work best with PubMed
- Combine with date filters for recent research
Warnings¶
- Complex queries may return fewer results
- Some sources don't support all Boolean operators
- Field tags (e.g., [Author]) are source-specific
- Special characters may need escaping in terminal
Related Flags¶
-d, --date- Date range filter--sort- Sort results-m, --max_results- Limit results-S, --select- Select subset
Author Search¶
-au, --author¶
Description: Search for articles by specific author name.
Syntax:
Type: String value
Default: None
Name Formats: - "Smith J" (Last name + Initial) - "John Smith" (First + Last) - "Smith, John" (Last, First) - "Einstein A" (Famous scientists)
Examples¶
Example 1: Basic Author Search
Find articles by author Smith J in PubMed.Example 2: Full Name Search
Search Crossref for articles by John Smith.Example 3: Author with Abstracts
Find Watson's articles and display abstracts.Example 4: Author with Date Filter
Find Einstein's papers from his lifetime.Example 5: Author Export to EndNote
Export Darwin's work to EndNote format.Example 6: Multi-Source Author Search
Find Hawking's papers across all sources, deduplicate.Example 7: Author with Sorting
Get Curie's papers sorted chronologically.Example 8: Author Statistics
Analyze Feynman's publication patterns.Example 9: Recent Author Publications
Get Yann LeCun's latest arXiv preprints.Example 10: Author Co-Publication Analysis
Analyze Watson's collaborations (top 20 co-authors).Author Name Format Tips¶
PubMed Format:
# Last name + First initial
lixplore -P -au "Smith J" -m 10
# Full last name + Full first name
lixplore -P -au "Smith John" -m 10
# Formal format
lixplore -P -au "Smith, John" -m 10
Crossref/Other Sources:
Handling Common Names:
# Add date filter to narrow results
lixplore -P -au "Smith J" -d 2015-01-01 2024-12-31 -m 20
# Use query instead for more specificity
lixplore -P -q "Smith J[Author] AND genetics[Title]" -m 10
Tips¶
- Try multiple name formats if no results
- Use initials for PubMed (more reliable)
- Combine with date filter for recent work
- Some sources better support author search than others
- Statistics flag useful for author publication analysis
Warnings¶
- Common names may return many irrelevant results
- Name format varies by source (try both formats)
- Some databases may not support author search
- Middle initials often not indexed
Related Flags¶
-q, --query- Alternative with author field tags-d, --date- Filter by publication date--sort- Sort chronologically--stat- Author statistics
DOI Search¶
-DOI, --doi¶
Description: Search for a specific article by its Digital Object Identifier (DOI).
Syntax:
Type: String value
Default: None
DOI Format: 10.XXXX/YYYYY
Examples¶
Example 1: Basic DOI Lookup
Retrieve article metadata using DOI from Crossref.Example 2: DOI with Details
Get full article details for DOI.Example 3: DOI Export to BibTeX
Get BibTeX citation for specific DOI.Example 4: DOI Export to EndNote
Export DOI article to EndNote format.Example 5: Multiple DOIs (using multiple commands)
lixplore -C -DOI "10.1038/nature12345" -X csv -o results.csv
lixplore -C -DOI "10.1126/science.1234567" -X csv -o results.csv
Example 6: DOI with Enrichment
Get enriched metadata for DOI.Example 7: DOI PDF Download
Download PDF for open access DOI (e.g., PLOS).Example 8: DOI to Zotero
Add DOI article directly to Zotero library.Example 9: DOI Citation Format
Get APA-formatted citation for DOI.Example 10: DOI with Annotation
lixplore -C -DOI "10.1038/nature12345"
lixplore --annotate 1 --rating 5 --tags "important,methodology"
DOI Format Examples¶
Valid DOI Formats:
# Standard format
10.1038/nature12345
# With URL prefix (works too)
https://doi.org/10.1038/nature12345
# arXiv DOI
10.48550/arXiv.2103.14030
# PubMed Central DOI
10.1371/journal.pone.0123456
Tips¶
- Crossref is best source for DOI lookup
- DOI lookup is extremely fast (single record)
- Most reliable way to get specific article
- Automatically validates DOI format
- Great for citation management
Warnings¶
- DOI must exist in database
- Some very old articles may not have DOIs
- Invalid DOI format will return no results
- Not all sources support DOI search equally well
Related Flags¶
--enrich- Get complete metadata-X, --export- Export citation-c, --citations- Formatted citations--add-to-zotero- Import to Zotero
Result Limiting¶
-m, --max_results¶
Description: Maximum number of results to retrieve per source.
Syntax:
lixplore [SOURCE] -q "QUERY" -m NUMBER [OPTIONS]
lixplore [SOURCE] -q "QUERY" --max_results NUMBER [OPTIONS]
Type: Integer value
Default: 10
Range: 1-1000 (recommended: 10-200)
Examples¶
Example 1: Small Sample
Quick preview with just 5 results.Example 2: Medium Search
Comprehensive search with 50 results.Example 3: Large Literature Review
Extensive search across all sources (200 per source).Example 4: Pagination Example
Retrieve 100 results, display 20 per page.Example 5: Export Top Results
Get 100 results, sort, export top 20.Example 6: Statistics on Large Set
Analyze 500 articles per source for comprehensive statistics.Example 7: Author Publication Count
Get all author publications for analysis.Example 8: Multi-Source Balanced
30 results per source (90 total before dedup).Example 9: Selective Export
Retrieve 100, export every other one (50 articles).Example 10: Performance Optimization
Ultra-fast search for quick verification.Result Limiting Tips¶
Performance vs Coverage:
# Fast (single source, few results)
lixplore -P -q "query" -m 10
# Balanced
lixplore -s PC -q "query" -m 50 -D
# Comprehensive (slow)
lixplore -A -q "query" -m 200 -D
Per-Source Behavior:
# With -A flag: 50 results PER source
lixplore -A -q "query" -m 50
# Total: up to 250 results (5 sources × 50)
# After deduplication:
lixplore -A -q "query" -m 50 -D
# Total: ~150-200 (depends on overlap)
Pagination Strategy:
# Instead of loading all at once
lixplore -P -q "query" -m 500
# Use pagination
lixplore -P -q "query" -m 500 -p 1 --page-size 50
lixplore -P -q "query" -m 500 -p 2 --page-size 50
Tips¶
- Start small (10-20) for exploratory searches
- Use 50-100 for literature reviews
- Use 200+ for comprehensive analysis
- Results are cached (can review later)
- Combine with selection for subset export
Warnings¶
- Higher limits = slower search
- API rate limits may apply
- Very large results may cause memory issues
- Some sources have maximum limits
Related Flags¶
-S, --select- Export subset--sort- Organize before selection-p, --page- Pagination--page-size- Results per page
Boolean Operators Guide¶
Operator Reference¶
| Operator | Symbol | Purpose | Example |
|---|---|---|---|
| AND | AND |
Both terms required | cancer AND treatment |
| OR | OR |
Either term accepted | cancer OR tumor |
| NOT | NOT |
Exclude term | diabetes NOT type1 |
| Grouping | () |
Group operations | (A OR B) AND C |
Logic Examples¶
1. Simple AND:
Articles must mention BOTH diabetes and obesity.2. Simple OR:
Articles can mention cancer, tumor, or both.3. Simple NOT:
Articles about diabetes but NOT type 1.4. AND + OR:
Cancer articles that mention treatment OR therapy.5. Complex Nested:
Lung or breast cancer articles, excluding metastatic.6. Multiple AND:
All three terms must be present.7. Multiple OR:
Any of these synonyms acceptable.Truth Tables¶
AND Operator: | Term A | Term B | Result | |--------|--------|--------| | Present | Present | ✓ Match | | Present | Absent | ✗ No match | | Absent | Present | ✗ No match | | Absent | Absent | ✗ No match |
OR Operator: | Term A | Term B | Result | |--------|--------|--------| | Present | Present | ✓ Match | | Present | Absent | ✓ Match | | Absent | Present | ✓ Match | | Absent | Absent | ✗ No match |
NOT Operator: | Term A | NOT Term B | Result | |--------|------------|--------| | Present | Present | ✗ No match | | Present | Absent | ✓ Match | | Absent | Present | ✗ No match | | Absent | Absent | ✗ No match |
Best Practices¶
1. Start Broad, Then Refine¶
# Step 1: Broad search
lixplore -P -q "cancer" -m 10
# Step 2: Add specificity
lixplore -P -q "breast cancer" -m 20
# Step 3: Add more terms
lixplore -P -q "breast cancer AND treatment" -m 30
2. Use Boolean Operators for Precision¶
# Less precise (phrase search)
lixplore -P -q "cancer treatment" -m 20
# More precise (both terms required)
lixplore -P -q "cancer AND treatment" -m 20
# Most precise (specific combination)
lixplore -P -q "(breast OR ovarian) AND cancer AND BRCA1" -m 30
3. Combine Search Types¶
# Query search for broad results
lixplore -P -q "genetics" -m 50
# Author search for specific researcher
lixplore -P -au "Watson JD" -m 30
# DOI for specific article
lixplore -C -DOI "10.1038/nature12345"
4. Use Appropriate Result Limits¶
# Quick check (5-10)
lixplore -P -q "test query" -m 5
# Standard search (20-50)
lixplore -P -q "research topic" -m 30
# Literature review (100-200)
lixplore -A -q "comprehensive topic" -m 150 -D
# Statistical analysis (200+)
lixplore -A -q "analysis topic" -m 300 -D --stat
5. Leverage Date Filters¶
# Recent research only
lixplore -P -q "COVID-19" -d 2020-01-01 2024-12-31 -m 50
# Historical perspective
lixplore -P -q "genetics" -d 1950-01-01 1970-12-31 -m 30 --sort oldest
Troubleshooting¶
Problem: No results found¶
Solution 1: Simplify query
# Instead of complex query
lixplore -P -q "((A AND B) OR C) NOT D" -m 20
# Try simpler
lixplore -P -q "A OR B" -m 20
Solution 2: Remove Boolean operators
# Instead of
lixplore -P -q "cancer AND treatment" -m 20
# Try
lixplore -P -q "cancer treatment" -m 20
Solution 3: Try different source
# If PubMed returns nothing
lixplore -P -q "query" -m 20
# Try Crossref or all sources
lixplore -A -q "query" -m 20
Problem: Too many irrelevant results¶
Solution: Add more specific terms
# Too broad
lixplore -P -q "cancer" -m 100
# More specific
lixplore -P -q "breast cancer AND BRCA1 AND treatment" -m 50
Problem: Author search returns wrong person¶
Solution: Add date filter or query combination
# Generic author search
lixplore -P -au "Smith J" -m 50
# With date filter
lixplore -P -au "Smith J" -d 2015-01-01 2024-12-31 -m 30
# With topic filter (use query instead)
lixplore -P -q "Smith J[Author] AND genetics[Title]" -m 20
Related Documentation¶
- Source Flags - Choose databases to search
- Filter Flags - Process search results
- Display Flags - View and browse results
- Export Flags - Export and save results
Last Updated: 2024-12-28 Lixplore Version: 2.0+