How to use couple of filters?

Hi All,

We are analysing on how the algolia will work using filters and group by operations? we are using .net program. We have push to data from our DB to Algolia Dashboard. From algolia dashboard we are trying to fetch data by using some filters.

Here my Sample data.
[
{
“name”: “3-Year Unlimited Cloud Storage Service Activation Card - Other”,
“description”: “Enjoy 3 years of unlimited Cloud storage service with this activation card, which allows you to remotely access your favorite music, movies and other media via a compatible device and enables private file sharing with loved ones.”,
“brand”: “Pogoplug”,
“categories”: [
“Best Buy Gift Cards”,
“Entertainment Gift Cards”
],
“hierarchicalCategories”: {
“lvl0”: “Best Buy Gift Cards”,
“lvl1”: “Best Buy Gift Cards > Entertainment Gift Cards”
},
“type”: “Online data backup”,
“price”: 69,
“price_range”: “50 - 100”,
“image”: “https://cdn-demo.algolia.com/bestbuy/1696302_sc.jpg”,
“url”: “http://www.bestbuy.com/site/3-year-unlimited-cloud-storage-service-activation-card-other/1696302.p?id=1219066776306&skuId=1696302&cmp=RMX&ky=1uWSHMdQqBeVJB9cXgEke60s5EjfS6M1W”,
“free_shipping”: true,
“popularity”: 10000,
“rating”: 2,
“objectID”: “1”
},
{
“name”: “360fly - Panoramic 360° HD Video Camera - Black”,
“description”: “Only at Best Buy This 360fly panoramic 360° HD video camera features Wi-Fi, a Bluetooth LE interface and the included 360fly app (download required), so you can easily shoot, edit, replay and share recorded video footage using a compatible iOS or Android smartphone. Included action camera adaptor lets you use your 360fly camera with your existing 3-prong mounts.”,
“brand”: “Pogoplug”,
“categories”: [
“Cameras & Camcorders”,
“Digital Cameras”,
“Point & Shoot Cameras”,
“360 & Panoramic Cameras”
],
“hierarchicalCategories”: {
“lvl0”: “Cameras & Camcorders”,
“lvl1”: “Cameras & Camcorders > Digital Cameras”,
“lvl2”: “Cameras & Camcorders > Digital Cameras > Point & Shoot Cameras”,
“lvl3”: “Cameras & Camcorders > Digital Cameras > Point & Shoot Cameras > 360 & Panoramic Cameras”
},
“type”: “Point&shoot camcrder”,
“price”: 399.99,
“price_range”: “200 - 500”,
“image”: “https://cdn-demo.algolia.com/bestbuy/9131042_rb.jpg”,
“url”: “http://www.bestbuy.com/site/360fly-panoramic-360-hd-video-camera-black/9131042.p?id=1219405459683&skuId=9131042&cmp=RMX&ky=1uWSHMdQqBeVJB9cXgEke60s5EjfS6M1W”,
“free_shipping”: false,
“popularity”: 9999,
“rating”: 5,
“objectID”: “2”
},
{
“name”: “3DR - Backpack for Solo - Black”,
“description”: “3D Robotics Backpack for Solo Drones: Protect your Solo drone and accessories from the elements, wherever your adventures lead you. This Solo drone backpack features a custom-fitted foam interior that prevents the drone from jostling inside. The black exterior is water-resistant, with padded straps for extra comfort.”,
“brand”: “Pogoplug”,
“categories”: [
“Toys, Games & Drones”,
“Drones & Accessories”,
“Drone Accessories”,
“Drone Bags & Cases”
],
“hierarchicalCategories”: {
“lvl0”: “Toys, Games & Drones”,
“lvl1”: “Toys, Games & Drones > Drones & Accessories”,
“lvl2”: “Toys, Games & Drones > Drones & Accessories > Drone Accessories”,
“lvl3”: “Toys, Games & Drones > Drones & Accessories > Drone Accessories > Drone Bags & Cases”
},
“type”: “Drone accessory”,
“price”: 149.95,
“price_range”: “100 - 200”,
“image”: “https://cdn-demo.algolia.com/bestbuy/5353024_sb.jpg”,
“url”: “http://www.bestbuy.com/site/3dr-backpack-for-solo-black/5353024.p?id=1219650465782&skuId=5353024&cmp=RMX&ky=1uWSHMdQqBeVJB9cXgEke60s5EjfS6M1W”,
“free_shipping”: false,
“popularity”: 9998,
“rating”: 5,
“objectID”: “3”
}
]

If have search with object id then i am getting the result. If we search with brand then we am not getting results. So please can anyone help me to move further.

Thanks
Kumar Raj R

Hello Kumar.

Could you provide us more details about your configuration ? What are the searchable attributes of your index and in which order are they configured ? Do you have any facets configured ? And also, could you provide a more specific example of a query not having the results you want ?

Thanks

Hi Support,

Simple, we have huge data with almost 10 columns with Objectid is the index and we want filter the data in among 10 columns. And we have to use Federated Search aslo.
We are using index as below

SearchIndex index = client.InitIndex(“object”);

We have not facets configured. We are using some sample data to show the demo to my Manager. Can you help me with .net language.

Thanks
Kumar Raj R

Thanks for your answer.

If you want to be able to filter data, a good thing would be to create facets on your object’s attributes. Please have a look at our documentation to discover how to use this feature.

Hope it helps.

Hi Support,

Can help me how to use Like Operator in Algolia API?

Regards
Kumar Raj R