1

I am new to Azure. I tried to create a Search service with index of Partitioned DocumentDb. So my documentdb have a partionkey and id. While adding that as my search service data source I am getting the following error :

Error detecting index schema from source : "Message : {"Errors":The partition key supplied in x-ms-partitionkey has fewer components than defined in the collection"}"

Can anyone help me out ?

1 Answer 1

1

Azure Search doesn't currently support partitioned DocumentDB collections. However, we plan to add this support in the next few weeks. Please contact me at eugenesh at the usual Microsoft domain and I'll update you when it's available. Thanks!

Sign up to request clarification or add additional context in comments.

2 Comments

Hi Eugene, I still get this error. Has this been taken care of? I am able to add and retrieve records with partition key through code, but I get an error when I try to browse it in VS cloud explorer.
@Noor, sorry I'm not familiar with VS cloud explorer. I suggest that you post a separate question about that issue and tag it appropriately.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.