Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread Erick Erickson
See downconfig here: https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities I'm guessing you started your cloud with one of the example (i.e. -e cloud). Under the covers, it did an upconfig to put the configs up in ZK in the first place, this is the inverse. Best, Erick On Mon,

Complete list of parameters in request handlers

2015-06-08 Thread Steven White
Hi, I'm managing my Solr solrconfig.xml data using https://cwiki.apache.org/confluence/display/solr/Config+API In doing so, I'm write code that will read and update request handlers. Beside the top level key / value parameters, I came across defaults, invariants and appends as list items. Are

Re: Complete list of parameters in request handlers

2015-06-08 Thread Shalin Shekhar Mangar
The defaults, appends, invariants apply to request handlers. Similarly, each type of Solr plugin has different configuration parameters. Unfortunately, there is no single list of all parameters. You will have to look at the documentation of the plugin you are trying to configure to find out the

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread mattia.martine...@gmail.com
2015-06-08 21:42 GMT+02:00 Erick Erickson erickerick...@gmail.com: See downconfig here: https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities Thank you Erick for your answer! I've already seen that page, and I was trying with the following command:

Re: How important is the name of the data collection?

2015-06-08 Thread Erick Erickson
OK, assuming that by virtual machine you're talking JVMs and not VMWare or something bin/solr start -c -z localhost:2181 -p 8981 -s example/cloud/node1/solr bin/solr start -c -z localhost:2181 -p 8982 -s example/cloud/node2/solr Note that I cheat and use one of the example configs create

SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread mattia.martine...@gmail.com
Hi. I setted up a SolrCloud cluster with 3 nodes and configuration files on Zookeeper. I read the document at https://cwiki.apache.org/confluence/display/solr/Using+ZooKeeper+to+Manage+Configuration+Files and saw that configuration files are stored on ZooKeeper of course. But now I have to update

How do I unsubscribe?

2015-06-08 Thread Carl Roberts
How do I unsubscribe?

Problem with distributed search using grouping and highlighting

2015-06-08 Thread Rich Hume
I am currently using Solr 4.5.1. In the hopes of seeing better query performance, I have sharded an index and I am trying to use the shards parameter along with grouping and highlighting. I am not currently using Solr cloud. I got past an earlier problem by adding a second sort parameter (as

Velocity UI and hyperlink

2015-06-08 Thread Sznajder ForMailingList
Hi I would like one of the fields, I display in the results of Velocity UI, to be a hyperlink. In my example, I am storing a field url containing the link to the online page of the indexed document and I would like to have this displayed field a hyperlink to this page. Could you please indicate

Re: Velocity UI and hyperlink

2015-06-08 Thread Sznajder ForMailingList
Thanks!! However, each time I change a *.vm file, I do not succeed to see the change on my browser until, I delete + recreate the collectoin and re-index. Isn't there a way to immediately see the display change? Best regards On Mon, Jun 8, 2015 at 11:46 PM, Erik Hatcher erik.hatc...@gmail.com

Re: Velocity UI and hyperlink

2015-06-08 Thread Sznajder ForMailingList
Hi I am using 5.1 Currently, I defined a directory solr-conf/ . Under this directory, I have a velocity directory containing my different *.vm files. When I create a collection, I am creating via bin\solr create -c COLL_NAME -d PATH_TO_SOLR_CONF Your indication was helpful : changing the file

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread Shalin Shekhar Mangar
Looks like you are using managed-schema (better known as the schemaless mode). In this case, the schema is inferred/managed by Solr by looking at the documents that you add. You can also use the Schema API to change this schema. Editing this schema manually is not recommended. See

Re: Velocity UI and hyperlink

2015-06-08 Thread Erik Hatcher
Benjamin - The templates for VelocityResponseWriter (/browse, etc) are under conf/velocity. Find the template that generates the piece you want to affect (which may be hit.vm or hit_something.vm? - depends on which version of Solr you’re using and which configuration you’ve started with to be

Re: YAJar

2015-06-08 Thread TK Solr
Maybe maven shade can help your situation ? https://maven.apache.org/plugins/maven-shade-plugin/ http://stackoverflow.com/questions/13620281/what-is-the-maven-shade-plugin-used-for-and-why-would-you-want-to-relocate-java Create a self-contained jar with guava package renamed. Not very pretty but

Re: Complete list of parameters in request handlers

2015-06-08 Thread Jack Krupansky
I did make an effort to fully document all parameters for the request handlers in my Solr 4.x Deep Dive: http://www.lulu.com/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-7/ebook/product-21203548.html -- Jack Krupansky On Mon, Jun 8, 2015 at 4:05 PM, Shalin Shekhar Mangar

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread Erick Erickson
And when you're _not_ using schemaless (thanks, Shalin, didn't even notice that) you need to specify the -n option. But I second Shalin's comment, you shouldn't be manually editing something a managed schema... Best, Erick On Mon, Jun 8, 2015 at 1:09 PM, Shalin Shekhar Mangar

Re: Velocity UI and hyperlink

2015-06-08 Thread Erik Hatcher
What version of Solr? And where is the file you’re changing? With Solr 5.2, one example of what you’re trying to do is under example/files. In the README we have this: bin/solr start -Dvelocity.template.base.dir=/full/path/to/example/files/conf/velocity/ When you create a collection it

How important is the name of the data collection?

2015-06-08 Thread David Patterson
I'm trying to make two virtual machines, each with one 4.10 SOLR-cloud code instance, connected to the same external Zookeeper site. I want to create one data collection with one shard on each of these two machines. If I use the start method as described in the Apache Solr Reference Guide for my

Re: Velocity UI and hyperlink

2015-06-08 Thread Erick Erickson
Assuming you're in SolrCloud, you'd have to push the config set up to Zookeeper and issue a Collections API RELOAD command on the collection. But if you've got it worked out, it doesn't matter. FWIW, Erick On Mon, Jun 8, 2015 at 2:37 PM, Sznajder ForMailingList bs4mailingl...@gmail.com

Re: Velocity UI and hyperlink

2015-06-08 Thread Erik Hatcher
Do note that changing the file copied under solr/server is risky, as you may delete and recreate the collection and lose your changes. If you use the system property trick mentioned below, you can develop without having to recreate the collection but once you do it’ll incorporate the changes.

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread mattia.martine...@gmail.com
2015-06-08 22:09 GMT+02:00 Shalin Shekhar Mangar shalinman...@gmail.com: Looks like you are using managed-schema (better known as the schemaless mode). Thank you very much Shalin and Erick! I've never used schemaless before. I am not editing the managed schema, and I uploaded my own custom

Re: Dataimport failing on SOLR 5.2

2015-06-08 Thread William Bell
https://issues.apache.org/jira/browse/SOLR-7588 On Mon, Jun 8, 2015 at 2:11 AM, William Bell billnb...@gmail.com wrote: Uncaught ReferenceError: naturalSort is not defined $.ajax.success @ dataimport.js?_=5.2.0:48 jQuery.Callbacks.fire @ require.js?_=5.2.0:3126 jQuery.Callbacks.self.fireWith

Re: Dataimport failing on SOLR 5.2

2015-06-08 Thread William Bell
Also getting: Uncaught ReferenceError: naturalSort is not defined On Mon, Jun 8, 2015 at 1:50 AM, William Bell billnb...@gmail.com wrote: 1. When I click DataImport in the UI on any core.. The UI just spins: 2. 3.

Re: Dataimport failing on SOLR 5.2

2015-06-08 Thread William Bell
Uncaught ReferenceError: naturalSort is not defined $.ajax.success @ dataimport.js?_=5.2.0:48 jQuery.Callbacks.fire @ require.js?_=5.2.0:3126 jQuery.Callbacks.self.fireWith @ require.js?_=5.2.0:3244 done @ require.js?_=5.2.0:9482 jQuery.ajaxTransport.send.callback @ require.js?_=5.2.0:10263 On

Dataimport failing on SOLR 5.2

2015-06-08 Thread William Bell
1. When I click DataImport in the UI on any core.. The UI just spins: 2. 3. http://hgsolr2devmstr:8983/solr/autosuggest/admin/mbeans?cat=QUERYHANDLERwt=json_=1433749812067 Here is the response: 200:

Re: Solr

2015-06-08 Thread Upayavira
This implies that you are attempting to access Solr direct from Javascript in the browser. This is a bad idea. Solr doesn't (until 5.2 at least) have any security within, so you will be exposing functionality to your end users that allows them to delete (or corrupt) the data in your index. Normal

Adding multiple entities to single core

2015-06-08 Thread Naman Kaushik
Hi Admin,I am a new-bee to SOLR.I want to establish multiple entities within a single core so that each entity refers data from two different tables and hence indexing the data.Please help me out Attached are my schema.xml and data-config.xml files Looking forward for a positive response

AW: Solr OutOfMemory but no heap and dump and oo_solr.sh is not triggered

2015-06-08 Thread Clemens Wyss DEV
Sorry for the delay - https://issues.apache.org/jira/browse/SOLR-7646 -Ursprüngliche Nachricht- Von: Erick Erickson [mailto:erickerick...@gmail.com] Gesendet: Mittwoch, 3. Juni 2015 17:39 An: solr-user@lucene.apache.org Betreff: Re: Solr OutOfMemory but no heap and dump and oo_solr.sh is

Re: Escaping special chars when exporting result sets

2015-06-08 Thread Angelo Veltens
Am 20.05.15 um 00:36 schrieb Joel Bernstein: This should be considered a bug in the /export handler. Please create a jira ticket for this. We have created a ticket: https://issues.apache.org/jira/browse/SOLR-7647 Best regards, Angelo

Re: BoolField fieldType

2015-06-08 Thread Steven White
Thank you all for helping and updating the doc. As always, it is greatly appreciated. Steve On Thu, Jun 4, 2015 at 1:53 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : What about at query time? If I index my Boolean and it has one of the : variations of t, T or 1, what should my

Re: Unsubscribe me

2015-06-08 Thread François Schiettecatte
Please follow instructions here: http://lucene.apache.org/solr/resources.html F. On Jun 8, 2015, at 1:06 AM, Dylan dylan.h...@gmail.com wrote: On 30 May 2015 12:08, Lalit Kumar 4 lkum...@sapient.com wrote: Please unsubscribe me as well On May 30, 2015 15:23, Neha Jatav

Re: List all Collections together with number of records

2015-06-08 Thread Zheng Lin Edwin Yeo
We're thinking of writing a custom request handler to do that, although the handler will also query all the collections at the backend. Will this lead to a faster response speed for the user? Regards, Edwin On 8 June 2015 at 00:06, Erick Erickson erickerick...@gmail.com wrote: bq: we still

Score function

2015-06-08 Thread Slavko Bodvanski
Hello, Solr schema that I use defines products on a document level where product has number of predefined and custom fields. For instance, there are fields like id of a catalog to which product belongs, title, description, price, category etc. I'd like to use scale function

Re: Derive suggestions across multiple fields

2015-06-08 Thread Zheng Lin Edwin Yeo
I've set it to true already. str name=buildOnStartuptrue/str str name=buildOnCommittrue/str I got this error when I tried to run /suggesthandler?suggest.build=true ?xml version=1.0 encoding=UTF-8? -response -lst name=responseHeader int name=status500/int int name=QTime33/int /lst -lst