Following a Stream of Java Dependencies - Montana Webmaster

Following a Stream of Java Dependencies

Photo of oil filters and oilThe Starting Question

“Do search bars use mapping methods to filter the data on the web to narrow down what your looking for?”

Following the Wrong Stream of Thought

Wrong Understanding 1: Geographic maps
Remembering a project that involved custom programming for a specialized Google Map for tracking wildlife, I went down the wrong stream and answered the wrong question. I was also following the wrong stream because Google Search often includes Google Maps in the result.

Wrong Understanding 2: Which meaning of “method”
I should have stopped at the word “method” which is uniquely Java in coding, but which has other meanings in the process and training arenas. But, the word “method” also has a more general meaning.

Wrong Understanding 3: Mapping methods
Now we have two words to interpret. After some thought, I got the “mapping” correct in that it means matching a word in one system to a word in another system. But, I got it wrong in that I interpreted it to mean methods of using a search engine by thinking of words with similar meanings.

The wrong answer
“I still use a plain ole Google search, although, it’s definitely filling up with junk, like social media feeds.” There are no Java Dependencies in that answer.

Starting with a Filter Method for a Search Bar

The reply to my answer put the question into the right context: No for instance if I were to make a filter method for a search bar. I would need to use the .map() array method, right?

My first thought is to look at the bigger picture and wonder what the search bar is searching: a database? text files? code? You can’t have a filter unless you have a dataset to filter. Does the dataset make a difference here? I’m not sure. But, either way, I don’t have that information. The information I have is that this is a Java question.

Isolating the idea of filtering, I still don’t have enough information. At its simplest form, if the data to be filtered is character-based, I would do a simple string search. So, now I need to rethink the technology. Where does the term “filter” fit in? It took several search strings to find a good definition, but this was helpful: “An extension of faceted search, a search filter is a specific attribute a visitor can use to refine the search results of a particular product listing page, e.g. by size, color, price, or brand.” Now, we are no longer in playing with string searches, but with specific field searches where a viewer can choose the fields.


Definition of Search Filter


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.