Re: SOLR_HOST vs solr.xml (solrcloud config)

2016-03-12 Thread Shawn Heisey
On 3/12/2016 10:47 AM, Shawn Heisey wrote: > If SOLR_HOST is not working, perhaps the start script in your install > has a bug. I was going to look for reported bugs on SOLR_HOST, but the > Apache bugtracker (Jira) is down. Thanks, Shawn Jira's back. If you're running a version before 5.2, there

Re: query against two fields

2016-03-12 Thread Erick Erickson
In a word, ComplexPhraseQueryParser. See: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser so you search for "John de*" or "john d*" etc. Best, Erick On Sat, Mar 12, 2016 at 6:40 AM, Vis Sw wrote: > Thanks a lot Erick... > > a) Yes it does re

Re: SOLR_HOST vs solr.xml (solrcloud config)

2016-03-12 Thread Shawn Heisey
On 3/11/2016 10:21 PM, Brian Wright wrote: > Use the |SOLR_HOST|variable in the include file to set the hostname of > the Solr server. > |SOLR_HOST=solr1.example.com| > > Setting the hostname of the Solr server is recommended, especially > when running in SolrCloud mode, as this determines the addr

Re: What is considered too many terms on a field search?

2016-03-12 Thread Yonik Seeley
On Sat, Mar 12, 2016 at 11:38 AM, Steven White wrote: > Thanks Yonik. > > 1) How would I enforce OR on the list of terms when AND is my default > search Boolean setting in solrconfig.xml? {!terms} is currently always a disjunction (OR) > 2) And just to confirm that I understand your solution, he

Re: What is considered too many terms on a field search?

2016-03-12 Thread Steven White
Thanks Yonik. 1) How would I enforce OR on the list of terms when AND is my default search Boolean setting in solrconfig.xml? 2) And just to confirm that I understand your solution, here is my current implementation: q=user-real-search-terms&fq={!join+fromIndex=sku_idex+from=SkuID+to=SkuFfolder

Re: What is considered too many terms on a field search?

2016-03-12 Thread Yonik Seeley
On Sat, Mar 12, 2016 at 11:00 AM, Steven White wrote: > Hi folks > > I need to search for terms in a field that will be AND'ed with user's real > search terms, such as: > > user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) > > The list of terms in the field FooField can be as

Re: What is considered too many terms on a field search?

2016-03-12 Thread Yonik Seeley
On Sat, Mar 12, 2016 at 11:00 AM, Steven White wrote: > Hi folks > > I need to search for terms in a field that will be AND'ed with user's real > search terms, such as: > > user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) > > The list of terms in the field FooField can be as

What is considered too many terms on a field search?

2016-03-12 Thread Steven White
Hi folks I need to search for terms in a field that will be AND'ed with user's real search terms, such as: user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) The list of terms in the field FooField can be as large as 1000 items, but will average around 100. The list of OR'ed

Re: Using group.ngroups during query search

2016-03-12 Thread Zheng Lin Edwin Yeo
Hi Toke, Thanks for your reply. >StatsComponent has countDistinct which is accurate, but has a warning >that is might be very heavy. This means that by using this method, the speed will probably be slow as well? By the way, I found that all the slow queries occurs in searches which are returnin

Re: solr index size issue

2016-03-12 Thread Toke Eskildsen
sara hajili wrote: > why solr index size become bigger and bigger without adding any new doc? Solr does not change the index unprovoked. It sounds like your external document feeding process is still running. - Toke Eskildsen

Re: query against two fields

2016-03-12 Thread Vis Sw
Thanks a lot Erick... a) Yes it does return result... http://localhost:8081/solr/testCollection/select?q=(project:A%20OR%20collaborator:%22John%20Dave%22)&wt=json Please suggest the best approach for the search to be like... for e.g. if collaborator "John Davis", "John Denver"... John D : sho

solr index size issue

2016-03-12 Thread sara hajili
hi i have a about 500 doc that stored that in solr. when i added this 500 doc i see solr index size it was about 300 KB . but it become bigger more and more ,and now after about 2 hours solr index size become 3500KB . i did n't add any new doc to solr. but index size become bigger and bigger.why s

Re: [Solr Suggester Component] Unique suggestions

2016-03-12 Thread Roland Szűcs
Hi all, I think nobody can question that this configuration parameter is neccessary. Most of the use cases need distinct values. I use solr 5.2.1 for an ebook store. I use the suggester component for autocomplete titles, authors, publishers. Some of our publishers have thousand of ebooks. I