RE: Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Andrew Chillrud
Thanks Markus, Scott, and Erick, I appreciate the input. Scott, I am not clear what you meant by " One reason is that zkServer.cmd tells the process that run Zookeeper by judging the DOS window title. However, according to what verison of Windows you use and how you start DOS window, it could b

RE: [E] Re: Faceting Question(s)

2016-06-02 Thread Andrew Chillrud
It is possible to get the original facet counts for the field you are filtering on (we have been using this since Solr 3.6). Don't know if this can be extended to get the original counts for all fields however. This syntax is described here: https://cwiki.apache.org/confluence/display/solr/Fac

RE: Solr sort preferences number vs space vs character

2016-03-14 Thread Andrew Chillrud
Are you sorting against an untokenized field (either defined using the 'string' fieldType or a fieldType that is configured with KeywordTokenizerFactory)? Solr will let you sort against a tokenized field. Not sure what happens internally when you do this, but the results will not be what you exp

RE: Solr sort preferences number vs space vs character

2016-03-14 Thread Andrew Chillrud
No experience with this personally, but it seems like you are describing https://cwiki.apache.org/confluence/display/solr/Language+Analysis#LanguageAnalysis-UnicodeCollation - Andy - -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Monday, March 14, 2016 10:51 AM

RE: Solr Exact match boost Reduce the results

2015-06-12 Thread Andrew Chillrud
If I understand you correctly you want to boost the score of documents where the contents of the product_name field match exactly (other than case) the query string. I think what you need is for the dummy_name field to be non-tokenized (indexed as a single string rather than parsed into individ

RE: Solr query which return only those docs whose all tokens are from given list

2015-05-11 Thread Andrew Chillrud
Based on his example, it sounds like Naresh not only wants the tags field to contain at least one of the values [T1, T2, T3] but also wants to exclude documents that contain a tag other than T1, T2, or T3 (Doc3 should not be retrieved). If the set of possible values in the tags field is limited

RE: Multilevel nested level support using Solr

2015-04-20 Thread Andrew Chillrud
Don't know if this is what you are looking for, but we had a similar requirement. In our case each folder had a unique identifier associated with it. When generating the Solr input document our code populated 2 fields, parent_folder, and folder_hierarchy (multi-valued), and for a document in the