ontehfritz / api.mtgdb.info

Project closing first of August 2015
http://www.mtgdb.info/
MIT License
36 stars 8 forks source link

Search method for cards and sets #22

Closed ontehfritz closed 10 years ago

ontehfritz commented 10 years ago

Create a search method that will allow a string to be searched for. This feature will rely on mongodb's new text search feature.

ontehfritz commented 10 years ago

A simple search by card name will be provided in the next release. Futures: Mongodb released a beta for textual search engine for mongo, we will use this in testing and release the full text support once mongodb release the production ready engine. To build ranking, indexing, and search querying engine our selves would take away from the goal of the project.

AnthonyMDev commented 10 years ago

So, right now, if I use a filter, it filters OUT those cards, and I get a list of everything else. This feature will be the opposite of that correct? This will give me JUST the cards I'm searching for? Hoping to see this implemented soon!

ontehfritz commented 10 years ago

current filters work by including everything by the field and the value, it is like a where clause, it is an exact match, the search function will be different. It will be textual search, without getting into to many details, it will be more like a google type search,were the search results have ranking and relevance.

ontehfritz commented 10 years ago

Simple match search is implemented as an Alpha feature. This will match text anywhere in the card name field. This is placeholder until "full text search" is ready.

ontehfritz commented 10 years ago

Advanced search implemented, close this for now, not sure if we will implement text search with mongodb