Different values for the indexed and stored data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Different values for the indexed and stored data

Jayesh Sidhwani
Hello folks,

I use SOLR to store e-commerce product data. I wanted to understand if
there's any way in which we can store the index data differently from the
data that I expect solr to send as a result?

For example; consider that a category is called T-Shirt. When I query solr,
I want to be able to fetch this document by querying for TShirt. However,
when I get the result from Solr, it should return T-Shirt.

Essentially, storing both the indexed data (post operations) and the actual
data.

​Thank you​

*Jayesh Sidhwani*
Reply | Threaded
Open this post in threaded view
|

Re: Different values for the indexed and stored data

iorixxx
Hi Jayesh,

Solr already works like that. Returned fields (fl) will have original data.

On Thursday, May 22, 2014 8:02 PM, Jayesh Sidhwani <[hidden email]> wrote:



Hello folks,

I use SOLR to store e-commerce product data. I wanted to understand if
there's any way in which we can store the index data differently from the
data that I expect solr to send as a result?

For example; consider that a category is called T-Shirt. When I query solr,
I want to be able to fetch this document by querying for TShirt. However,
when I get the result from Solr, it should return T-Shirt.

Essentially, storing both the indexed data (post operations) and the actual
data.

​Thank you​

*Jayesh Sidhwani*