[SERVER-9952] Text search: don't specify a language. Created: 18/Jun/13 Updated: 10/Dec/14 Resolved: 18/Jun/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Text Search |
| Affects Version/s: | 2.4.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Erik Pragt | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Hi all, I'm using MongoDB text search, and I'd like to give some feedback. I'm not sure what the best way is to do so, so I've made this report. If there's a more preferred way, please let me know, so I can use that way in the future. Based on this document: http://docs.mongodb.org/manual/tutorial/create-text-index-on-multi-language-collection/, I've made some testcase, and I don't understand what's happening. This is my test data:
And I'm most interested in finding the Dutch results right now. My question is: why do I have to specify a language when searching, when the language is already in the document. I would consider my User Interface to contain a text field which is used for searching, like Google, without having to specify a name. In most cases, I don't know the language the user is searching for, and assuming English gives weird results:
I'd like to search using a search term, but don't specify the search language when searching for a term, since I'll never know the language the user is looking for. If this is not possible, this feature is useless for me, unless I'm overlooking something here? |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 18/Jun/13 ] |
|
Generally people do know what language a user is typing in (headers for web, etc...). |
| Comment by Erik Pragt [ 18/Jun/13 ] |
|
My issue is missing formatting, but I am not able to find the edit button, sorry about that. |