Skip to content

Number of requested results 5 is greater than number of elements in index 1, updating n_results = 1 #5

@kumardexati

Description

@kumardexati

While searching a Folder with a single pdf, I keep getting error:
Number of requested results 5 is greater than number of elements in index 1, updating n_results = 1

Here is the code I am using:

from aifs import search
search("What is Popular Sovereignty?", path="/Users/km/work/test/Revolutions")
search("What triggered the American Revolution?") # Path defaults to CWD

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions