lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@mimirtech.com>
Subject Re: Disabling workd breaking for codes and SKUs
Date Wed, 10 Jul 2013 10:04:57 GMT
On 10 July 2013 14:02, Mysurf Mail <stammailbox@gmail.com> wrote:
> Some of the data in my index is SKUs and barcodes as follows
> ASDF3-DASDD-2133DD-21H44
>
> I want to disable the wordbreaking for this type (maybe through Regex.
> Is there a possible way to do this?

What fieldtype are you using for this in schema.xml?
Use a string field, or some non-analysed field that stores
the data as is.

Regards,
Gora

Mime
View raw message