For my EmbeddedSolr-mode I do
...
System.setProperty( "solr.allow.unsafe.resourceloading", "true" );
...
which works fine.
For the remote-mode, i.e. Solr/jetty server I put
SOLR_OPTS="$SOLR_OPTS -Dsolr.allow.unsafe.resourceloading=true"
into solr.in.sh. Unfortunately this setting/option does not
Hi Edwin,
Somehow, it is not recommended to display the relevancy score in percentage:
https://wiki.apache.org/lucene-java/ScoresAsPercentages
Ahmet
On Tuesday, May 26, 2015 8:34 AM, Zheng Lin Edwin Yeo
wrote:
Hi,
Would like to check, does the new version of Solr allows this function of
dis
Is it possible to SUM in a Group query?I am using the Solr group function and
it's retrieving the results.Now, I want to SUM the numeric field.Is it possible.
My query is like
this-http://localhost:8983/solr/glaas/select?%20q=abc%20&fl=TotalInvoices%20&wt=json%20&indent=true%20&debugQuery=true%2
Hi,
Would like to check, does the new version of Solr allows this function of
display the relevancy score in percentage?
I understand from the older version that it is not able to, and the only
way is to take the highest score and use that as 100%, and calculate other
percentage from that number (
I've managed to get it to work. In windows we have to put the full path
name to the jar file in the jdk in Java
Thank you so much for your help!
Regards,
Edwin
On 26 May 2015 at 11:15, Zheng Lin Edwin Yeo wrote:
> I have problems running the command 'jar xvf solr.war'.
> When I try to run th
Actually, just use the new bin/solr start scripts and ignore whether
it's running Jetty under the covers or not I think.
Best,
Erick
On Mon, May 25, 2015 at 7:11 PM, Zheng Lin Edwin Yeo
wrote:
> Hi Shawn,
>
> Thanks for your reply. So the recommendation is still to stick with the
> Jetty that's
I am stuck in Yet Another Jarmagedon of SOLR. this is a basic question. i
noticed solr 5.0 is using guava 14.0.1. My app needs guava 18.0. What is
the pattern to override a jar version uploaded into jetty?
I am using maven, and solr is being started the old way
java -jar start.jar
-Dsolr.solr.hom
I have problems running the command 'jar xvf solr.war'.
When I try to run that, it will give an error: 'jar' is not recognized as
an internal or external command, operable program or batch file.
Is there anything which I might have missed out?
Regards,
Edwin
On 26 May 2015 at 10:59, William B
Err.. Here is the procedure for 5.1:
mkdir war
cp ../solr-5.1.0/server/webapps/solr.war .
jar xvf solr.war
cd WEB-INF
vi web.xml
Add this above the already there (and save it after adding this).
GzipFilter
org.eclipse.jetty.servlets.GzipFilter
mimeTypes
You need to edit the web.xml as I stated above and put the solr.war file
back.
Instead of "example" it is "server". Note: 4.10.4 and 5.1.0 uses the same
Jetty. 8.1.10.v20130312
Here is the procedure for 5.1:
mkdir war
cp ../solr-5.1.0/example/webapps/solr.war .
jar xvf solr.war
cd WEB-INF
vi
Hi Shawn,
Thanks for your reply. So the recommendation is still to stick with the
Jetty that's included in Solr?
>From what you say, seems that if we use external Jetty, we have to do more
configuration to tune it to fit Solr, and it will probably use more memory
and run slower too.There might al
Although we do not plan to implement Solr to be access over the internet
directly, it will be accessed via a local area network (Eg within the
company).
As there could potentially be alot of data indexed in Solr (especially
rich-text documents), and that will probably take up alot of bandwidth, we
The design is that the latest successfully flushed tlog file is kept
for "peer sync" in SolrCloud mode. When a replica comes up, there's a
chance that it's not very many docs behind. So, if possible, some of
the docs are taken from the leader's tlog and replayed to the follower
that's just been sta
Hi Erick,
I have tried indexing code I have few times, this is the behaviour I have
tried out:
When an indexing process starts, even if one or more tlog file exists, a
new tlog file is created and all the new documents are stored there.
When indexing process ends and does an hard commit, older ol
Why do you want gzip compression? Solr generally sits close to your
application server, so compression should be less necesasry there. Solr
isn't intended to be serving the public over the internet directly,
particularly because of its lack of security so it should be feeding
some other HTTP server
Zookeeper is just Java, so there's no reason why it can't be started in
Windows.
However, the startup scripts for Zookeeper on Windows are pathetic, so
you are much more on your own than you are on Linux.
There may be folks here who can answer your question (e.g. with Windows
specific startup scr
OK, assuming you're not doing any commits at all until the very end,
then the tlog contains all the docs for the _entire_ run. The article
really doesn't care whether the commits come from the solrconfig.xml
or SolrJ client or curl. The tlog simply is not truncated until a hard
commit happens, no m
On 5/25/2015 3:28 AM, Zheng Lin Edwin Yeo wrote:
> I understand that Jetty comes together with the Solr installation package,
> and that by default, Solr uses Jetty internally to power it's HTTP stack.
>
> Would like to check, will there be any performance difference when we run
> the Jetty intern
Many Thanks Erick and Upayavira,
Solution works for me.
On Thu, May 21, 2015 at 9:10 PM, Upayavira wrote:
> and then facet on the tags field.
>
> &facet=on&facet.field=tags
>
> Upayavira
>
> On Thu, May 21, 2015, at 04:34 PM, Erick Erickson wrote:
> > Have you tried
> >
> > &fq=type:A
> >
> >
Hi Erick, thanks for your support.
Reading the post I realised that my scenario does not apply the autoCommit
configuration, now we don't have autoCommit in our solrconfig.xml.
We need docs are searchable only after the indexing process, and all the
documents are committed only at end of index pr
I've managed to get the Solr started as a Windows service after
re-configuring the startup script, as I've previously missed out some of
the custom configurations there.
However, I still couldn't get the zookeeper to start the same way too. Are
we able to use NSSM to start up zookeeper as a Micros
Hi,
I understand that Jetty comes together with the Solr installation package,
and that by default, Solr uses Jetty internally to power it's HTTP stack.
Would like to check, will there be any performance difference when we run
the Jetty internally as compared to running an external copy of Jetty?
22 matches
Mail list logo