Is there such as thing as a "field alias"?

As I create more complex objects in my index, I'd like to be able to create
an alias to a specific object/property. For example, create an alias
"blocks" pointing to "ticket.blocks.ticketNumber". So when doing a query
string search all you have to type is "blocks:123" instead of
"ticket.blocks.ticketNumber:123".

Is this possible?

No, its not possible. You could change the index name to index it under a different name, and then do the search by it. Note, the mentioned field (ticket.blocks.ticketNumber can also be searchable by ticketNumber).

On Thursday, February 16, 2012 at 6:38 PM, Shane Witbeck wrote:

As I create more complex objects in my index, I'd like to be able to create an alias to a specific object/property. For example, create an alias "blocks" pointing to "ticket.blocks.ticketNumber". So when doing a query string search all you have to type is "blocks:123" instead of "ticket.blocks.ticketNumber:123".

Is this possible?