Re: Nested indices?

why not use 'type' for computer or phone?

And if the indices are really big you can also split them by app but
app can also be a simple property as well

On 15 Aug., 20:03, ajsie johnny.weng....@gmail.com wrote:

I was thinking about nested indices.

Eg.

/:index1/:index2:/../:index3/:type:/:id

I have products that could be computers, phones etc.

Here are my options today:

/:app/computer/:id
/:app/phone/:id

or

/products/computer/:id
/products/phone/:id

or

/:app_products/computer/:id
/:app_products/phone/:id

If nested indices are allowed it could be:

/app1/products/computer/:id
/app1/products/phone/:id
/app2/products/computer/:id
/app2/products/phone/:id

Thoughts?