Hi,
i did not get any result when i search for just created work space using search api
i have to wait around 1 minute to get it appear in the search result
any idea ?
regards
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
because when you add a document, the registration of that document is added to a database table to say this document is in this container, which is immediately available. In the background the Indexing processes process the file.
It's probably related to indexing
so what is the solution ?
one more thing, if i tried to see the newly created object through the GUI , i can see it immediately
so why it take time to find it through APIs and no time to find through UI ?
because the indexing process does various activities on content in the system and each job has a queue and may take time to run as well. A basic pass would include :
so why it come immediately through GUI ?
this means the GUI is not using the indexes for retrieving the information , and if this is true , which API can read from DB without relaying on indexes as well
the node REST API calls interact with the database and will return a newly added node as soon as its in the database. Search related calls rely on the node being indexed first.