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
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?