Skip to main content

All Questions

Tagged with
1 vote
0 answers
68 views

MongoDB Autocomplete index doesn't get result

I have a collection which name called 'airport' and i have Atlas Auto Complete index you can see JSON config below. { "mappings": { "dynamic": false, "fields": {...
Ulaş MÜEZZİNOĞLU's user avatar
1 vote
2 answers
283 views

Java Binary search with more the one result?

I have a question to the binary search. I have an arraylist where i use this to search the list for strings strting with an prefix: if(prefix.length()>1){ prefixlow=prefix.toLowerCase(...
QFireball's user avatar
1 vote
1 answer
635 views

Speeding up AutoComplete algorithm with a big Array List

I'm dealing with the InstantSearch feature on my Android App and the result I'd like to achieve is the one in the following picture. Everything works properly except for one thing. The ArrayList I'm ...
Cesarsk's user avatar
  • 153
0 votes
3 answers
104 views

how to achive exact, start with and like result in Apache Lucene SOLR 6.3.0

I have started implementation for Apache Lucene SOLR 6.3.0 for Auto complete implementation. In that I create column schema like : <fields> <field name="id" type="int" indexed="true" ...
Bharat Ranpariya's user avatar
0 votes
1 answer
2k views

Live search (or autocomplete) through database from Swing

I am trying to do "google" search. User types something - programm going to DB and returns with the list of suggestions. I'm using AutoComplete package, but unsure if in the right way, because i'am ...
marknorkin's user avatar
  • 4,084
1 vote
0 answers
450 views

Editable JComboBox Search

I have a JComboBox which contains a whole heap of people in it. When I click that person it then shows me all the data associated with those people. This is stored in a LinkedList of LinkedLists. I ...
user3418902's user avatar
0 votes
1 answer
1k views

Neo4j Lucene index - perform fuzzy search with wildcards

I am trying to setup an autosuggest/autocomplete search functionality using Neo4J's Lucene full-text indexes. I want my search to have fuzziness. Here is my code. Index<Node> ind = db.index()....
Kalyanaraman Santhanam's user avatar
1 vote
2 answers
1k views

Implementing auto completion in Java

I was working on creating a weather application in Java using Weather Underground and I found that it does have data for some cities. Initially, I was planning on using GeopIP to get the user's ...
An SO User's user avatar
7 votes
2 answers
330 views

500,000 street names - what data structure and to use to implement a fast search?

So we have many street names. They come in a file. Id probably cache them when booting the server up in production. The search should be auto complete like - e.g. you type 'lang ' and you would get ...
Toskan's user avatar
  • 15k
2 votes
2 answers
2k views

Data structure used for search suggestions

What is the data structure used for search suggestions like Google Suggest. Does it all depend on the application? Would be helpful someone give me a link to good reference!
Reddy's user avatar
  • 1,628
0 votes
1 answer
909 views

Faster autocomplete/instant search for java mobile application

I have implemented an autocomplete / instant search on a mobile application that I am developing using java (for the BlackBerry). The search is currently working, however I am looking for some tips on ...
littleK's user avatar
  • 20.2k
1 vote
2 answers
1k views

scroll/search JList when user starts typing

I would like to allow a user to click on a JList and if words are typed, do a query and advance the caret to the next match (prefix). Is there and example of such an implementation in Java somewhere? ...
alex's user avatar
  • 497