I have 2 questions here.
- How to make the search for query that second word?
ex: Big Apple.
When user search Apple, and it still will display the result.
I already make a research, most of the search query only search for the first word.
- How to retrieve data from main child to relative view when we have 2 childs?
As you can see at the below, there are 2 types of database. What I found out is, we have to make new upperCase BUT in the main.
ex:
{
"karangan" : {
"karanganuid" : {
"main": {
"title": "Big Apple",
"titleUpperCase": "BIG APPLE"
}
}
}
}
Can we do like this? If we can, how to retrieve the data?
{
"karangan" : {
"karanganuid" : {
"main" : {
"title" : "Big Apple"
},
"upperCase" : {
"titleUpperCase" : "BIG APPLE"
}
}
}
}