2. notes
1. My current query is similiar to this
http://127.0.0.1:8983/solr/vault/select?q=ABCD&qf=Name+SKU&defType=edismax

2. I want it to be case insensitive




On Thu, Aug 8, 2013 at 2:52 PM, Mysurf Mail <stammail...@gmail.com> wrote:

> I have a documnet that contains the following data
>
> car {
>     id:     guid
>     name:   string
>     sku:   list<barcode>
> }
>
> Now, The barcodes dont have a pattern. It can be either one of the
> follwings:
>
> ABCD-EF34GD-JOHN
> ABCD-C08-YUVF
>
> I want to index my documents so that search for
> 1. ABCD will return both.
> 2. AB will return both.
> 3. JO - will return ABCD-EF34GD-JOHN but not car with name john.
>
> so far I have defined car and sku as text_en.
> But I dont get bulletes no 2 and 3.
> IS there a better way to define sku attribute.
> Thanks.
>

Reply via email to