2015-06-08 22:09 GMT+02:00 Shalin Shekhar Mangar :
> 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 schema.
Thank you very
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.
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
wrote:
> Hi
>
> I am using 5.
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 c
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=/example/files/conf/velocity/
When you create a collection it clones the co
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
wrote:
> Benjamin -
>
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_.vm? - depends on which version of Solr
you’re using and which configuration you’ve started with to be more prec
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 indicat
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
wrote:
> Looks lik
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 <
shalinman
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
https://cwiki.apa
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
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 t
2015-06-08 21:42 GMT+02:00 Erick Erickson :
> 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:
root@index1:/opt/zookeeper/bin# ./zkCli.sh -z
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 M
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
ex
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
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 m
How do I unsubscribe?
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.
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 m
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
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 query be to get a hi
I've set it to true already.
true
true
I got this error when I tried to run /suggesthandler?suggest.build=true
-
-
500
33
-
len must be <= 32767; got 35578
java.lang.IllegalArgumentException: len must be <= 32767;
got 35578 at
org.apache.lucene.util.OfflineSorter$ByteSequencesWriter.wri
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
(org.apache.lucene.que
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 wrote:
> bq: we still need those information t
Please follow instructions here: http://lucene.apache.org/solr/resources.html
F.
> On Jun 8, 2015, at 1:06 AM, Dylan wrote:
>
> On 30 May 2015 12:08, "Lalit Kumar 4" wrote:
>
>> Please unsubscribe me as well
>>
>> On May 30, 2015 15:23, Neha Jatav wrote:
>> Unsubscribe me
>>
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
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
--Naman
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
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
https://issues.apache.org/jira/browse/SOLR-7588
On Mon, Jun 8, 2015 at 2:11 AM, William Bell 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 @ require.js?_=
Also getting:
Uncaught ReferenceError: naturalSort is not defined
On Mon, Jun 8, 2015 at 1:50 AM, William Bell wrote:
>
>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=QUERYHANDLER
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 Mon
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=QUERYHANDLER&wt=json&_=1433749812067
Here is the response: 200:
{"responseHeader":{"status":0,"QTime":1},"solr-mbeans":["QUERYHANDLER",{"allconda
34 matches
Mail list logo