Problems with search function
See original GitHub issueHi @fergiemcdowall, Something strange has happened with my code and right now I can search only if I’ll type full text. For example:
si.add([
{date: 1464122926, text: 'some text'},
{date: 1464122916, text: 'some another text'}
],
function (err) {
if (! err) {
var q = {};
q.query = { AND: [{'*': ['text']}] };
si.search(q, function (err, results) {
console.log(results);
})
}
})
In this case I’ll get empty result, but if I’ll change query to q.query = { AND: [{'*': ['some text']}] };
it will give me results. Thanks for help
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Windows 10 Search Not Working? Try These Fixes - Lifewire
When Windows search isn't working, it's almost always a simple software problem. The system may just need a restart to get it working...
Read more >How to fix search problems in Windows 10
Search on Windows 10 refuses to work? Here are six sets of instructions to resolve the most common problems with the Windows Search...
Read more >How to fix search problems in Windows 10 - TechRadar
The easiest way to fix search problems in Windows 10 is by using the built-in troubleshooter. To launch the troubleshooter, open up the...
Read more >Fix: Windows Search Not Working Problem - Techbout
If Windows Search is not working on your computer, try Search & Indexing Troubleshooter, Restart Windows Search Services and Windows Explorer.
Read more >7 Ways to Troubleshoot If Outlook Search Is Not Working
Ensure that Outlook is being indexed for search. Outlook has its own search settings you can check as well. One of the most...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, finally. Many thanks But its weird, because it worked earlier without adding space char
and btw: thanks for formatting your code- much easier to read!