On 7/1/2016 10:59 PM, Kent Mu wrote:
> solr version: 4.9.0 I create and get a HttpSolrServer connection by
> singleton pattern. I find the method of "shutdown" in solrj API, so I
> decided to use "shutdown" to release resources, but I got the error as
> below, It is due to singleton pattern?
If y
hi all,
solr version: 4.9.0
I create and get a HttpSolrServer connection by singleton pattern. I find
the method of "shutdown" in solrj API, so I decided to use "shutdown" to
release resources, but I got the error as below, It is due to singleton
pattern?
*Error executing query*
*org.apache.s
We should add a simple filter in Solr for this. The current way requires
indexing.
https://github.com/kkrugler/yalder is good, it would be a great filter:
if NOT english, fail the whole text.
On Fri, Jul 1, 2016 at 6:33 AM, Allison, Timothy B.
wrote:
> +1 to langdetect
>
> In Tika 2.0, we're g
If you are already using DIH, then you can use a
deltaQuery to find "updated" documents and index only
them.
https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler
Some people just parameterize their main DIH query and use request par
Yep, query syntax is a little bit challenging. Here I'm showing query
nesting to answer your question and also a better syntax for boolean
queries:
q={!parent which="parentDoc:true" v=$childq} (+parentDoc:true
+) &childq=+parentDoc:false +
30 июня 2016 г. 10:11 пользователь "Marre" написал:
> I
Hi Guys,
I have a data-import handler set up that indexes all of the documents from a
few small tables.
What is the best way to update the index when a single one of those documents
change.
Is it possible to use SQL or must I post json or xml to solr?
Thanks you,
Sas
Please do _not_ use the admin UI core creating screen when dealing
with SolrCloud. It can work, but you have to get everything exactly
right.
Instead, you should be using the ADDREPLICA command from the
Collections API, see:
https://cwiki.apache.org/confluence/display/solr/Collections+API
Althoug
Currently I am building a SolrCloud cluster with 3 Zookeepers (ensemble) and 4
solr instances. Cluster is hosting 4 collections and their replicas.
When one Solr node say Solr1 goes down (hosting 2 replicas of collection1 and
collection2), I add a new node to the cluster and that node in Admin
What _kind_ of handler? A search component? An update handler? A query parser?
Basically I'd do a google search, there are a lot of examples out
there. Try to pick
one that's relatively recent.
On Fri, Jul 1, 2016 at 3:40 AM, star jlong wrote:
> Hi,
>
> I'm a newbie on this fascinating technolog
Hmmm, don't see anything outstanding. What version of Solr?
Historically there have been some bugs when a shard doesn't
happen to host any docs, which sometimes occurs when you
are testing and just add a few docs to the collection, is that
a possibility?
Best,
Erick
On Thu, Jun 30, 2016 at 10:40
If the permissions are hierarchical, i.e. anyone who can see
paid_source and see confidential you could just index the
minimum-required clearance with the doc (think numeric codes here) and
form your fq as auth:[max_level_for_user TO *]. I admit I've rarely
seen security models that are that simple
First answer "what does sorting on a field with more than one value
mean?" Say I have
"aardvark" and "zebra". Where should the doc go, at the beginning or
end of the list?
For numerics at least you can do this, see:
https://lucidworks.com/blog/2015/09/10/minmax-on-multivalued-field/
in Solr 5.3+.
Glad you figured it out. BTW, your query can be a little simpler
since you can mix and match inclusive/exclusive end points as:
date_published:([NOW/DAY-6MONTH+1DAY TO NOW/DAY+1DAY})
Note curly brace rather than square bracket at the end.
As to whether the filter cache is actually used, if you l
Please review:
http://wiki.apache.org/solr/UsingMailingLists
There is precisely no information here that would allow us to diagnose the root
of your problem. The only general advice would be use DocValues.
Erick
On Thu, Jun 30, 2016 at 11:09 PM, 闲鹤/mamao wrote:
> data:1T
> Solr Sort occurs th
data:1T
Solr Sort occurs the memory overflow
query is normal
On 7/1/2016 10:01 AM, Chet Rebman wrote:
>
>
> ${solr.autoCommit.maxTime:15000}
> false
>
>
> ${solr.autoSoftCommit.maxTime:-1}
>
>
>
> My understanding is this should performa a hard commit every 15 seconds.
Yes, that is exactly what it will do -- but none of t
Hello all,
I am new to SolrCloud. I have read that solrCloud prefers to commit
automatically, rather then recieve commit commands. However solrCloud never
commits my documents.
I am running SolrCloud 6.1 with three solr servers and 3 zookeeper instances. I
am using CloudSolrClient with all thr
Okay I figured it out. Answer here if anyone ever stumbled across this in
future.
With debugQuery on you can see filter_queries actually get processed into
what's in the parsed_filter_queries and it's those that get cached. In this
case solr converts them to unix timestamps TO unix_timestamp and I
+1 to langdetect
In Tika 2.0, we're going to remove our own language detection code and allow
users to select Optimaize (fork of langdetect), MIT Lincoln Lab’s Text.jl
library or Yalder (https://github.com/kkrugler/yalder). The first two are now
available in Tika 1.13.
-Original Message--
Hi,
We are using solr 5.2.0. We have requirement to sort dynamic fields which
contains multivalued = true.Can any one guide me how we can achieve it?If newer
version of solr supports it we are ok to upgrade solr.
Regards,Harsh
hi all,
I create a CloudSolrServer Connection by singleton pattern like this
public synchronized static CloudSolrServer getSolrCloudReadServer() {
if (reviewSolrCloudServer == null) {
ModifiableSolrParams params = new ModifiableSolrParams();
params.set(HttpClientUtil.PRO
hi all,
solr version: 4.9.0
I create and get a HttpSolrServer connection by singleton pattern. I find the
method of "shutdown" in solrj API, so I decided to use "shutdown" to release
resources, but I got the error as below, It is due to singleton pattern?
Error executing query
org.apache.s
Woops, Just realised it's meant to be:
date_published:([NOW/DAY-6MONTH+1DAY TO NOW/DAY+1DAY-*1MILLISECOND*])
instead.
On Fri, Jul 1, 2016 at 11:52 AM, Callum Lamb wrote:
> We want to warm some FQ's. The main ones we want to do being date presets
> like "last 6 months", "last year" .etc
>
> The
We want to warm some FQ's. The main ones we want to do being date presets
like "last 6 months", "last year" .etc
The queries for the last 6 months get generated to look like this from site
(it's really 6 months -1 day):
*date_published:([2016-01-02T00:00:00.000Z TO 2016-07-01T23:59:59.999Z])*
Bu
Hi There,
I'm trying to create search component for some document level security. A user
will have a number of tags assigned to them, and these will be passed to the
search component which will add a filter to whatever the user's original query
was. Documents will be written with some or all of
Hi,
I'm a newbie on this fascinating technology called solr. Well, I have been
doing some configurations and run with solr. Now I want to custom handlers for
solr with java. Please can somebody share with an example of a custom handler
for solr 5.2.0, so that with this example will be able to w
FYI
发件人: 穆 俊峰
发送时间: 2016年7月1日 8:45
收件人: solr-user@lucene.apache.org
主题: solrcloud goes down
Dear Mr. Experts!
I came across a problem when use solrcloud, it goes down. The version is 4.9.1.
we got the java core log, it looks like the http connection pool is e
Dear Mr. Experts!
I came across a problem when use solrcloud, it goes down. The version is 4.9.1.
we got the java core log, it looks like the http connection pool is exhausted
and most threads are waiting to get a free connection.
I have increased http connection defaults for the SolrJ client,
Hi Ere,
Yes, this works.
Thanks for your reply.
Regards,
Edwin
On 1 July 2016 at 15:00, Ere Maijala wrote:
> You need to make sure you encode things properly in the URL. You can't
> just place an ampersand there because it's the parameter delimiter in a
> URL. If you're unsure, use e.g. http:
Sorry, good point Era; I forgot about that. I filed an issue:
https://issues.apache.org/jira/browse/SOLR-9270
When I work on that I'll add an upgrading note to the 6x section.
~ David
On Wed, Jun 29, 2016 at 6:31 AM Ere Maijala wrote:
> It would have been _really_ nice if this had been in the
You need to make sure you encode things properly in the URL. You can't
just place an ampersand there because it's the parameter delimiter in a
URL. If you're unsure, use e.g. http://meyerweb.com/eric/tools/dencoder/
to encode your search terms. You'll see that "r&d" will become
%22r%26d%22. Esc
31 matches
Mail list logo