Comments (15)
Thank you!
I'm not sure I understand the problem you have? So the search returns only 1 result, but it should return multiple?
from tntsearch.
Yes exactly. I have many posts that have that one letter in their title but
I got one post returned in the result while it should give me a collection.
On Jul 3, 2016 4:14 AM, "Nenad Ticaric" [email protected] wrote:
Thank you!
I'm not sure I understand the problem you have? So the search returns only
1 result, but it should return multiple?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute
the thread
https://github.com/notifications/unsubscribe/AHrcKPpDvDjhyJ-NwgJgKjopvWpcz4U-ks5qR32JgaJpZM4JDx_Q
.
from tntsearch.
The asYouType
functionality will only include words that start with a particular letter, so for example if you type the letter y
it will search the index for the most common word which starts with y
and return that word. Let's say that the most common word is yes
. After that it will return all documents that contain the word yes
. So if the result set returns only one result, this means that the word yes
was found only in one document
from tntsearch.
This would make sense only if there was only one document with the proposed
title yes. But I have more than one documents with yes (as proposed) within
their title. Shouldn't the asYouType property return a collection of
documents instead of one?
On Jul 3, 2016 4:18 PM, "Nenad Ticaric" [email protected] wrote:
The asYouType functionality will only include words that start with a
particular letter, so for example if you type the letter y it will search
the index for the most common word which starts with y and return that
word. Let's say that the most common word is yes. After that it will
return all documents that contain the word yes. So if the result set
returns only one result, this means that the word yes was found only in
one document—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKLv_VFElVse0uPxOEFCSQl8ySbWZks5qSCctgaJpZM4JDx_Q
.
from tntsearch.
Yes, it should return a collection if more than one occurrences are found. Have you made sure that you have the latest version of TNTSearch?
from tntsearch.
Yes it should but it doesn't. I have the latest version of the package.
0.6. And apart from this issue, as suggested by another user you should
implement fuzzy searching as soon as possible.
On Jul 3, 2016 4:45 PM, "Nenad Ticaric" [email protected] wrote:
Yes, it should return a collection if more than one occurrences are found.
Have you made sure that you have the latest version of TNTSearch?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKDVsuKGsgxLkl8Q6cKHsP-pfoRxKks5qSC2FgaJpZM4JDx_Q
.
from tntsearch.
Can you write a failing unit test for this so I can try to fix it?
from tntsearch.
No I can't. Because I don't know how to test my code yet. But I 'll learn
that. And for now what I can do is send you some screenshots or gists of my
code and the results I'm getting. If it's good for you let me know.
On Jul 3, 2016 4:59 PM, "Nenad Ticaric" [email protected] wrote:
Can you write a failing unit test for this so I can try to fix it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKGFRZMA1Kcyq88VWYuP_7U-Wyvk7ks5qSDC8gaJpZM4JDx_Q
.
from tntsearch.
Ok, lets try that. Is it possible to send me the document collection also, so I can recreate it. And also which particular letter/word you're trying
from tntsearch.
Yes I will do my best for that. Thanks!
On Jul 3, 2016 5:06 PM, "Nenad Ticaric" [email protected] wrote:
Ok, lets try that. Is it possible to send me the document collection also,
so I can recreate it. And also which particular letter/word you're trying—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKNKS-yeVCg_VxuyFgqNPSAGkptz0ks5qSDJVgaJpZM4JDx_Q
.
from tntsearch.
Here are my search controller, 2 models, 2 db files and 1 command to index
them. I'm sorry for any inconvenience those might be. Regards.
On Jul 3, 2016 5:08 PM, "Jean Gérard Bousiquot" [email protected]
wrote:
Yes I will do my best for that. Thanks!
On Jul 3, 2016 5:06 PM, "Nenad Ticaric" [email protected] wrote:
Ok, lets try that. Is it possible to send me the document collection
also, so I can recreate it. And also which particular letter/word you're
trying—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKNKS-yeVCg_VxuyFgqNPSAGkptz0ks5qSDJVgaJpZM4JDx_Q
.
from tntsearch.
It seems like you forgot to attach the files
from tntsearch.
I'm sorry. Please see here:
https://drive.google.com/folderview?id=0B4Hp3qR50YdmcFZmblB6U2ZfZDA
On Jul 4, 2016 12:32 AM, "Nenad Ticaric" [email protected] wrote:
It seems like you forgot to attach the files
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKKqRzf7Hikb-sMGhTOV-4p_0RDs7ks5qSJrggaJpZM4JDx_Q
.
from tntsearch.
Ok, after looking at your index here's the issue for the word yeah
. In your mp3 collection you have also a word yes
which occurs only once in all of the documents and when you type only y
it will match the word yes
since the levenshtein distance from y
is closer to the word yes
than to yeah
from tntsearch.
Thanks for pointing this out! I will try with other keywords. By the way
I'm having some issues to get the package to work on a pc with Ubuntu on it
now. It returns empty results. I'm not sure if this has to do with folder
permission or something. I was on Mac before that. But I guess I must open
a new issue on Github.
On Jul 6, 2016 1:18 PM, "Nenad Ticaric" [email protected] wrote:
Ok, after looking at your index here's the issue for the word yeah. In
your mp3 collection you have also a word yes which occurs only once in
all of the documents and when you type only y it will match the word yes
since the levenshtein distance for y is closer to the word yes than to
yeah—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHrcKOb6KRR9yHEhX05BfzhHSM0QfKTZks5qS_FdgaJpZM4JDx_Q
.
from tntsearch.
Related Issues (20)
- tntsearch Deprecated: Creation of dynamic property HOT 1
- Anyone know what this random SMS-Texts file is? HOT 2
- Diacritic-Insensitive Search Support (Czech characters) HOT 3
- Scout: Custom tokenizer indexing properly to allow dashes and periods, but searching on dashes does not work HOT 9
- Performance issues with large datasets HOT 6
- Class 'TeamTNT\TNTSearch\Engines\Exception' not found in 'vendor/teamtnt/tntsearch/src/Engines/EngineTrait.php' line 46 HOT 1
- Per-Model Fuzzy Search Configuration in Laravel Scout HOT 1
- [FEATURE] Support of PSR-16 adapter
- How to add MYSQL_ATTR_SSL_CA option? HOT 1
- $startpos adjustment may return minus value. HOT 1
- How to update index for which no index.
- Fuzziness / Fuzzy-Search not working HOT 3
- Scout Driver - Model update or save dont trigger tntsearch index update HOT 3
- new TNTGeoIndexer expects engine
- Why add 'return' in saveHitList function? HOT 3
- Inaccurate results when searching two or more keywords. HOT 7
- In-depth Instructions HOT 1
- CLI re-index output is confusing
- How search with mysql and insensitive accents where 'a' = 'á'
- How to perform a Boolean AND search with TNTSearch? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tntsearch.