Hi All,
I found the solution for the same.
I created own tree structure and store the keys in file as character by character.
And now the searching is very fast as compare to other...
Type: Posts; User: patilsn_jay
Hi All,
I found the solution for the same.
I created own tree structure and store the keys in file as character by character.
And now the searching is very fast as compare to other...
yes the search string can contains multiple tokens. And it's length can be of any size, so we have to split that search string and then search for the matching keys and return the url.
I have...
the search string we are searching in map is not a key only. It could be a string of multiple lines with one or more keys.
e. g. Search string :-
"The Longest rivers in the world is Nile and...
------------------------------------------------------------------------------------
Thanks for reply..
I checked with map searching is working fine. But because of some rule of searching I need...
Hi all,
I am having a file contains key and value pairs separated by space.
I want to read that text file and store into a data structure in java so that, If i want to search a key in file...
The code I have written to read the file is as mentioned below :-
Please suggest us the changes or any other better way so that we can improve the reading and search performance by less than 5...
The code I have written to read the file is as mentioned below :-
Please suggest us the changes or any other better way so that we can improve the reading and search performance by less than 5...
Hi All,
I want to read a file and search string in file and returns it's related value.
The file contains key and value pair and they are separated by space. Key is string and value is and URL...
Hi All,
I want to read a file and search string in file and returns it's related value.
The file contains key and value pair and they are separated by space. Key is string and value is and URL...