Re: solr cloud does not start with many collections

2015-03-06 Thread didier deshommes
It would be a huge step forward if one could have several hundreds of Solr collections, but only have a small portion of them opened/loaded at the same time. This is similar to ElasticSearch's close index api, listed here: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indice

Re: solr 4.7.2 mergeFactor/ Merge policy issue

2015-03-06 Thread Summer Shire
Hi All, Here’s more update on where I am at with this. I enabled infoStream logging and quickly figured that I need to get rid of maxBufferedDocs. So Erick you were absolutely right on that. I increased my ramBufferSize to 100MB and reduced maxMergeAtOnce to 3 and segmentsPerTier to 3 as well. M

PostBind method for DocumentObjectBinder?

2015-03-06 Thread Karl Kildén
Hello, DocumentObjectBinder would benefit from a post bind call imo. Something like: public List getBeans(Class clazz, SolrDocumentList solrDocList, boolean postBind) { List fields = getDocFields(clazz); List result = new ArrayList<>(solrDocList.size()); for (SolrDocument sdoc : s

How to direct SOLR 4.9 log output to regular Tomcat logs

2015-03-06 Thread tuxedomoon
I want SOLR 4.9 to log to my rolling tomcat logs like catalina.2015-03-06.log. Instead I'm just getting a solr.log with no timestamp. Maybe this is this just the way it has to be now? I'm also not sure if I need to copy more SOLR jars into my tomcat lib. This is my setup. tomcat6/conf/log4j

Re: Apache Solr Reference Guide 5.0

2015-03-06 Thread Patrick Durusau
Shawn, Thanks! I was using Document Viewer and not Adobe Acrobat so was unclear. The TOC I meant was as in a traditional print publication with section #s, etc. Not a navigation TOC sans numbering as in Adobe. The Confluence documentation (I can't see the actual stylesheet in use, I don't t

RE: Delimited payloads input issue

2015-03-06 Thread Markus Jelsma
Well, the only work-around we found to actually work properly is to override the problem causing tokenizer implementations on by one. Regarding the WordDelimiterFilter, the quickest fix is enabling keepOriginal, if you don't want the original to stick around, the filter implementation must be mo

Re: Apache Solr Reference Guide 5.0

2015-03-06 Thread Shawn Heisey
On 3/6/2015 10:20 AM, Patrick Durusau wrote: > I was looking at the PDF version of the Apache Solr Reference Guide > 5.0 and noticed that it has no TOC nor any section numbering. > http://apache.claz.org/lucene/solr/ref-guide/apache-solr-ref-guide-5.0.pdf > > The lack of a TOC and section headings

Apache Solr Reference Guide 5.0

2015-03-06 Thread Patrick Durusau
Greetings, I was looking at the PDF version of the Apache Solr Reference Guide 5.0 and noticed that it has no TOC nor any section numbering. http://apache.claz.org/lucene/solr/ref-guide/apache-solr-ref-guide-5.0.pdf The lack of a TOC and section headings makes navigation difficult. I have ju

Re: SolrCloud default shard assignment order not correct

2015-03-06 Thread Shawn Heisey
On 3/6/2015 1:34 AM, Shawn Heisey wrote: > In Solr 5.0, the cloud graph is sorting the collections by name. The > shard names also appear to be sorted -- all the collections I have on > the example cloud setup only have two shards, so I really can't be sure. > It might also be sorting the replica

Re: Order of defining fields and dynamic fields in schema.xml

2015-03-06 Thread Tom Devel
Thats good to know. On http://wiki.apache.org/solr/SchemaXml it also states about dynamicFields that "you can create field rules that Solr will use to understand what datatype should be used whenever it is given a field name that is not explicitly defined, but matches a prefix or suffix used in a

Re: Order of defining fields and dynamic fields in schema.xml

2015-03-06 Thread Alexandre Rafalovitch
I don't believe the order in file matters for anything apart from initParams section. The longer - more specific one - matches first. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 6 March 2015 at 11:21, Tom Devel wrote: >

Order of defining fields and dynamic fields in schema.xml

2015-03-06 Thread Tom Devel
Hi, I am running solr 5 using basic_configs and have a questions about the order of defining fields and dynamic fields in the schema.xml file? For example, there is a field "hierarchy.of.fields.Project" I am capturing as below as "text_en_splitting", but the rest of the fields in this hierarchy,

Re: Solrcloud Index corruption

2015-03-06 Thread Erick Erickson
bq: You say in our case some docs didn't made it to the node, but that's not really true: the docs can be found on the corrupted nodes when I search on ID. The docs are also complete. The problem is that the docs do not appear when I filter on certain fields this _sounds_ like you somehow don't ha

Calling solr Page with search query

2015-03-06 Thread Jochen Lenz
Hello, i'm looking for a solution for the following situation: I have a website consisting of two sites. One site is called "home" and one is called "search". On the search site i have embeded solr via iframe. On the home site there should be a search field. When the search field is fired it shoul

Re: ExpandComponent not expanding

2015-03-06 Thread Dario Rigolin
I did more testing following your question... And now all makes sense and I think that maybe a more clear explanation on documentation can help. I was using Grouping where a group is created also if only one element is present, I have inferred that expanded section was showing ALL collapsed reco

RE: Cores and and ranking (search quality)

2015-03-06 Thread johnmunir
Help me understand this better (regarding ranking). If I have two docs that are 100% identical with the exception of uid (which is stored but not indexed). In a single core setup, if I search "xyz" such that those 2 docs end up ranking as #1 and #2. When I switch over to two core setup, doc-A

Solr query to match document "templates" - sort of a reverse wildcard match

2015-03-06 Thread Robert Stewart
If I have SOLR document with field value such as: "a ? c ? e" And I want a phrase query such as "a b c d e" to match that document. So: q:"a b c d e" --> return doc with "a ? c ? e" as field value for "q" field. Is this possible, or is there a way it can be done with a plug-in using lower lev

Re: Core admin: create new core

2015-03-06 Thread Shawn Heisey
On 3/6/2015 3:25 AM, manju16832003 wrote: > Solr 5 has been released. I was just giving a try and come across the same > issue. As I heard over from some documentation, Solr 5 doesn't come with > default core (example in earlier versions). And this requires us to create > a core from Solr Admin. W

Re: ExpandComponent not expanding

2015-03-06 Thread Joel Bernstein
The expand component only displays the groups heads when it finds expanded documents in the group. And it only expands for the current page. Are you finding situations where there are group heads on the page, that have child documents that are not being expanded? Joel Bernstein Search Engineer at

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-06 Thread ale42
I think these frequencies are not the frequence of the term in the same index : - original frequency represents the number of results that you have in lucene index when you query "who". - suggestion frequency is the number of results of this term in the spellcheck dictionnary. I guess you're usi

ExpandComponent not expanding

2015-03-06 Thread Dario Rigolin
I'm using Solr 4.10.1 and FieldCollapsing but when adding expand=true and activating ExpandComponent the expanded section into result contains only one group head and not all group heads present into the result. I don't know if this is the intended behaviour. Using a query q=*:* the expanded sec

Check the return of suggestions

2015-03-06 Thread ale42
Hello everyone. I'm working with Solr 4.3. I use the Spellechecker component which gives me suggestions as i expect. I will explain my problem with an example : I am querying /"cartouchhe"/instead of /"cartouche"/. I obtain these suggestions array (size=5) 0 => array (size=2) 'w

Re: Core admin: create new core

2015-03-06 Thread Erik Hatcher
Try - bin/solr create -c inventory > On Mar 6, 2015, at 05:25, manju16832003 wrote: > > Solr 5 has been released. I was just giving a try and come across the same > issue. As I heard over from some documentation, Solr 5 doesn't come with > default core (example in earlier versions). And

Re: How to start solr in solr cloud mode using external zookeeper ?

2015-03-06 Thread Rajesh Hazari
zkhost=hostnames, port=some port variables in your solr.xml should work? I have tested this with tomcat not with jetty, this stays with your config. Rajesh. On Mar 5, 2015 9:20 PM, "Aman Tandon" wrote: > Thanks shamik :) > > With Regards > Aman Tandon > > On Fri, Mar 6, 2015 at 3:30 AM, shamik

Re: Core admin: create new core

2015-03-06 Thread manju16832003
Solr 5 has been released. I was just giving a try and come across the same issue. As I heard over from some documentation, Solr 5 doesn't come with default core (example in earlier versions). And this requires us to create a core from Solr Admin. When I tried to create the core, I get the followin

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-06 Thread gaohang wang
do you use solrcloud?maybe your suggestion is not support distribute 2015-03-04 22:39 GMT+08:00 Nitin Solanki : > Hi.. >I have a term("who") where original frequency of "who" is 191 but > when I get suggestion of "who" it gives me 90. Why? > > Example : > > *Original Frequency* comes like

Re: Labels for facets on Velocity

2015-03-06 Thread gaohang wang
you can write a macro in you velocity template,which is used to show your query response 2015-03-06 1:14 GMT+08:00 Henrique O. Santos : > Hello, > > I’ve been trying to have a pretty name for my facets on Velocity Response > Writer. Do you know how can I do that? > > For example, suppose that I a

Re: SolrCloud default shard assignment order not correct

2015-03-06 Thread Shawn Heisey
On 3/2/2015 2:12 PM, spillane wrote: > Since the order is consistently 1,4,2,3 it sounds like I can start the > leaders in 1,4,2,3 order and then replicas in 1,4,2,3 order and expect the > relationships to stick > > leader1 -> replica1 > leader4 -> replica4 > leader2 -> replica2 > leader3 -> repl