Questions tagged [search-suggestion]

A search suggestion can be made by a search engine when it discovers that the enduser entered poor or unknown keywords. The search engine will then suggest better keywords as in "Don't you mean [keywords]?".

314 questions
1
vote
1 answer

getData() returns null in Suggestion Provider Android

I'm trying to do a Suggestion Provider in Android. The suggestions are showed depending on the text which I have entered (this part is already done) but when I want to recover the data (its _id) from the content provider, the instruction getData()…
1
vote
1 answer

Android search suggestion, why have to type the whole word for suggestion?

I have a search widget with suggestions enabled. Everything works ok, but I have to write the whole word in order to get a suggestion. I have set the - android:searchSuggestThreshold="2", but still need to finish a word (5-6) characters, to get a…
Edmond Tamas
  • 3,148
  • 9
  • 44
  • 89
1
vote
0 answers

How can I resize an icon in the custom search suggestion?

I have an application implementing search with suggestions. The suggestions are displaying an icon for each result, using the SUGGEST_COLUMN_ICON_1 field for the cursor generation. I would like to reduce the size of the images displayed as icons.…
Thierry J.
  • 2,148
  • 16
  • 23
1
vote
1 answer

solr - skip suggestions that return same documents as original search

I have search suggestions working pretty well and I like that I get suggestions even if the original keyword returned results (if we have documents with misspellings in our collection). However, often, I am getting suggestions that return the exact…
jessieloo
  • 1,759
  • 17
  • 24
1
vote
1 answer

Solr dictionary based suggester won't suggest on whole phrase

When I enter a query containing multiple word to my Suggester component I got separated results for each. The problem is well explained here: How to have Solr autocomplete on whole phrase when query contains multiple terms? The only difference is, I…
hrzafer
  • 1,123
  • 1
  • 15
  • 35
1
vote
2 answers

Android Custom Search Suggestions: Query Two Parameters

SQLite Structure Table: Class Column1: classID (primary key) Column2: className Table: Students Column1: studentID (primary key) Column2: classID (foreign key) Column3: studentName Question I have followed the Adding Custom Suggestions…
1
vote
1 answer

Solr - How to obtain multiple suggestions for a query

In the configuration file solrconfig.xml, is there a parameter to adjust tolerance in order to have multiple suggestions even if the number of different letters between the query & the suggestion is large? In my solrconfig.xml suggestion…
Hakim
  • 3,225
  • 5
  • 37
  • 75
1
vote
0 answers

Integrate PCLint to VC++ for possible suggestion and solution

The trigger for this idea is from purify. When we use purify, it has a extensive online help (online here means option in command prompt) which will help developer to understand the error and possible fixes. Similar to this, I would like to have…
1
vote
1 answer

not applicable for the arguments (CursorAdapter)

The method setSuggestionsAdapter of a SearchView gives me a strange Error: I have a class InformationAdapter that extends CursorAdapter, but it says me that I cannot cast it to an CursorAdapter. The method setSuggestionsAdapter(CursorAdapter) in…
Dornathal
  • 882
  • 9
  • 16
1
vote
1 answer

OnQueryTextChange and LoaderManager, how to manage query cursors?

I have an app that is a dictionary. At the onStart method, a FragmentActivity calls the loader and populates a ListFragment where one can see the words that have a definition. Until then everything works nice, but when I put any letter on the…
Dieglock
  • 169
  • 1
  • 16
1
vote
1 answer

search suggest query limit = 50 cursor does not work on text change

I want to take suggestions from my SQLite Database with content provider. Actually i m able to read database. But suggestions does not appear if i do not submit my query. I want to take suggestions when search query changes. I get below message in…
1
vote
1 answer

Can't obtain Google Search suggestion API

Trying to use an xmlHTTPrequest to get search suggestions but I am having trouble getting access. The link is: http://suggestqueries.google.com/complete/search?output=toolbar&hl=ja&q=keyword It loads fine when put into the address bar. I have…
Damien Golding
  • 1,003
  • 4
  • 15
  • 28
1
vote
1 answer

Returning arbitrary fields using the Solr Suggester component

I'm looking to use the Solr Suggester component for serving up search auto-complete suggestions. I have created a field in my schema:
Richard
  • 422
  • 7
  • 17
1
vote
1 answer

How to handle a search suggestion clicked item

I used the officical Android sample code "SearchableDictionary" (Link: http://jayxie.com/mirrors/android-sdk/resources/samples/SearchableDictionary/index.html), that gives us a search interface, where you can search for a word and you have 2…
0
votes
1 answer

Accessibility in custom suggestion dropdown in React

I have a search field in my application and I have implemented a custom suggestion dropdown with it. When user types any keyword in the search field I query a search index and once results are fetched I show them in a custom dropdown under the…
saim2025
  • 280
  • 2
  • 5
  • 14