Use text analysis and copyField to create a new field that has terms as
you expect them. Then use that for your spellcheck dictionary.

Note, since 4.0, you don't need to create a dictionary. Solr can use
your index directly.

Upayavira

On Wed, Mar 13, 2013, at 06:00 AM, Rohan Thakur wrote:
> while building the spell dictionary...
> 
> On Wed, Mar 13, 2013 at 11:29 AM, Rohan Thakur <rohan.i...@gmail.com>
> wrote:
> 
> > even do not want to break the words as in samsung to s a m s u n g or sII
> > ti s II ir s2 to s 2
> >
> > On Wed, Mar 13, 2013 at 11:28 AM, Rohan Thakur <rohan.i...@gmail.com>wrote:
> >
> >> k as in like if the field I am indixing from the database like title that
> >> has characters like () - # /n//
> >> example:
> >>
> >> Screenguard for Samsung Galaxy SII (Matt and Gloss) (with Dual Protection, 
> >> Cleaning Cloth and Bubble Remover)
> >>
> >> or
> >> samsung-galaxy-sii-screenguard-matt-and-gloss.html
> >> or
> >> /s/a/samsung_galaxy_sii_i9100_pink_.jpg
> >> or
> >> 4.27-inch Touchscreen, 3G, Android v2.3 OS, 8MP Camera with LED Flash
> >>
> >> now I do not want to build the spell dictionary to only include the words
> >> not any of the - , _ . ( ) /s/a/ or numeric like 4.27....
> >> how can I do that?
> >>
> >> thanks
> >> regards
> >> Rohan
> >>
> >> On Tue, Mar 12, 2013 at 11:06 PM, Alexandre Rafalovitch <
> >> arafa...@gmail.com> wrote:
> >>
> >>> Sorry, leaving them where?
> >>>
> >>> Can you give a concrete example or problem.
> >>>
> >>> Regards,
> >>>     Alex
> >>> On Mar 12, 2013 1:31 PM, "Rohan Thakur" <rohan.i...@gmail.com> wrote:
> >>>
> >>> > hi all
> >>> >
> >>> > wanted to know is there way we can make spell dictionary from solr
> >>> index
> >>> > such that it only takes words from the index leaving all the special
> >>> > characters and unwanted characters.
> >>> >
> >>> > thanks
> >>> > regards
> >>> > Rohan
> >>> >
> >>>
> >>
> >>
> >

Reply via email to