Thanks Arcadius! Great and helpful article.
Siamak Rowshan | Software Engineer Softmart | 450 Acorn Lane Downingtown, PA 19335 P | 888-763-8627 siamak.rows...@softmart.com **************************************************** EEO Employer/Protected Veteran/Disabled The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized. Softmart Sales Terms & Conditions available at www.softmart.com/terms. **************************************************** -----Original Message----- From: Arcadius Ahouansou [mailto:arcad...@menelic.com] Sent: Wednesday, September 02, 2015 4:53 PM To: solr-user Subject: Re: Rules for pre-processing queries Hello Siamak. You may also want to have a look at 3 related articles, the 3rd part being: http://lucidworks.com/blog/query-autofiltering-extended-language-logic-search/ I would start from the 1st part. Hope this helps a bit. Arcadius. On 2 September 2015 at 21:09, Upayavira <u...@odoko.co.uk> wrote: > Do you have a predefined list of such filters? > > You can do fun things with synonyms: define an ipad->tablet synonym, > and use it at query time. Filter out all non-synonym terms in your > query time analysis chain, and then use that field as a filter. > > Upayavira > > On Wed, Sep 2, 2015, at 09:07 PM, Siamak Rowshan wrote: > > Hi all, I need to refine my search results by adding parameters to > > search query parameters. For example, if user enters "ipad", I want > > to add a filter query such as ("category=tablets") to refine the > > search results. I thought a more general solution would be to define > > rules, that examine the query parameter values, and can alter or add to the > > query parameters. > > Short of writing custom code, are there any features within Solr or > > add-on tools that can do something like this? > > > > Regards, > > Mak > > > > > > Siamak Rowshan | Software Engineer > > Softmart | 450 Acorn Lane Downingtown, PA 19335 > > P | 888-763-8627 > > siamak.rows...@softmart.com > > > > **************************************************** > > EEO Employer/Protected Veteran/Disabled The information in this > > e-mail is confidential and may be legally privileged. It is intended > > solely for the addressee. Access to this e-mail by anyone else is > > unauthorized. Softmart Sales Terms & Conditions available at > > www.softmart.com/terms. > > **************************************************** > > > > > > > -- Arcadius Ahouansou Menelic Ltd | Information is Power M: 07908761999 W: www.menelic.com ---