Re: Facet Filter

2016-02-22 Thread Toke Eskildsen
Anil wrote: > it means to we need to create two fields of same content to support > facet and case insensitive , term search on a field. Agree? As things are now, yes. - Toke Eskildsen

Re: Facet Filter

2016-02-22 Thread Anil
Thank you. it means to we need to create two fields of same content to support facet and case insensitive , term search on a field. Agree? Thanks again,. Regards, Anil On 22 February 2016 at 16:07, Toke Eskildsen wrote: > On Mon, 2016-02-22 at 11:48 +0530, Anil wrote: > > solr Documentation s

Re: Facet Filter

2016-02-22 Thread Toke Eskildsen
On Mon, 2016-02-22 at 11:48 +0530, Anil wrote: > solr Documentation says docValues=true/false works for only few fields. > will that work on Text field ? No. It might at some point, but so far it is just a feature request: https://issues.apache.org/jira/browse/SOLR-8362 - Toke Eskildsen, State

Re: Facet Filter

2016-02-21 Thread Anil
HI Shawn, solr Documentation says docValues=true/false works for only few fields. will that work on Text field ? Copy from the reference guide - DocValues are only available for specific field types. The types chosen determine the underlying Lucene docValue type that will be used. The available

Re: Facet Filter

2016-02-18 Thread Anil
Thanks Shawn. This really helps. we are using 4.10.3 now.. will look into 5.4.1. Thanks. Regards, Anil On 18 February 2016 at 20:04, Shawn Heisey wrote: > On 2/18/2016 7:12 AM, Anil wrote: > > Thank you, i just checked in 5.1. > > > > as facet fields has to be Strings and cannot be tockenized.

Re: Facet Filter

2016-02-18 Thread Shawn Heisey
On 2/18/2016 7:12 AM, Anil wrote: > Thank you, i just checked in 5.1. > > as facet fields has to be Strings and cannot be tockenized. is there any > way to search on case insensitive search on this field (not in a facet > filter scenario). If you configure docValues on the field in schema.xml and

Re: Facet Filter

2016-02-18 Thread Anil
Thank you, i just checked in 5.1. as facet fields has to be Strings and cannot be tockenized. is there any way to search on case insensitive search on this field (not in a facet filter scenario). Regards, Anil On 18 February 2016 at 17:34, Upayavira wrote: > facet.contains= > > Beware that it

Re: Facet Filter

2016-02-18 Thread Upayavira
facet.contains= Beware that it is relatively new, so will only be in the latest few Solr releases. I think this was it [1], which suggests it is in 5.1+ Upayavira [1] https://issues.apache.org/jira/browse/SOLR-1387 On Thu, Feb 18, 2016, at 10:38 AM, Anil wrote: > HI , > > Following are the fac

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread cnyee
Oh I see I was wrong in using (pdf or txt). It worked, but have different meanings altogether from (pdf OR txt). Thanks a lot for your help. Best regards, Yee -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2931347.htm

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread Grijesh
"or" is not any operator "OR", "AND", "NOT" all are caps should be used as operator - Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2931318.html Sent from the Solr - User mailin

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread rajini maski
The input parameter assigning to the field "tint" is type string ("or"). It is trying to assign tint=or which is incorrect. So the respective exception has occurred. On Thu, May 12, 2011 at 4:10 PM, cnyee wrote: > The exception says: > > java.lang.NumberFormatExcepton: for input string "or" > >

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread cnyee
The exception says: java.lang.NumberFormatExcepton: for input string "or" The field type is: -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2931282.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread Grijesh
No, OR operator should work for any data type - Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2930915.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread cnyee
I have another facet that is of type integer and it gave an exception. Is it true that the field has to be of type string or text for the OR expression to work? -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2930863.html

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread cnyee
It works. Many thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2930783.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet filter: how to specify OR expression?

2011-05-11 Thread Grijesh
How about fq=docType:(pdf OR txt) - Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-filter-how-to-specify-OR-expression-tp2930570p2930648.html Sent from the Solr - User mailing list archive at Nabble.com.