Hi,
I am looking for possibility to validate document that is about to be
inserted against schema to check if addition of document will fail or
not w/o actually making an insert. Is there a way to that? I'm doing
update from inside the Solr plugin so there is an access to API if that
Hello. Not really middle-ware but might be of interest concerning
possible ways implementing security.
We use custom built Solr with web.xml including Spring Security filter
and appropriate infrastructure classes for authentication added as a
dependency into project. We pass token from
Thank you Shawn, it works!
You were right about CoreAdmin API, I've implemented individual core
management by getting list of live nodes from ZK and using
HttpSolrServer's for different nodes.
Regards,
Artem.
04.12.2013 18:47, Shawn Heisey пишет:
On 12/4/2013 9:23 AM, Artem Karpenko wrote
What is the best way to upload Solr configuration files into ZooKeeper
programmatically, i.e. - from within Java code?
I know that there are cloud-scripts for this, but in the end they should
use some Java client library, don't they?
This question raised because we use special configuration
/clusterstate.json with data from
+jsonFile.getAbsolutePath());
}
**
You should be able to modify that or use it as a basis for uploading the
changed files in your config.
Thanks,
Greg
On Dec 4, 2013, at 8:36 AM, Artem Karpenko gooy...@gmail.com wrote:
What is the best way to upload Solr
from
distribution is apache-solr-4.x.0/example/solr/. You just have to copy
it anywhere you like and then point out this location by providing
system property solr.solr.home when starting the servlet container of
your choice (also described later in the document).
Best,
Artem Karpenko
like yours).
Regards,
Artem.
06.08.2013 6:13, anpm1989 пишет:
Hi Artem Karpenko,
Thank you for finding the reason. It seem The Jboss deployment scanner does
not accept dollar characters in its validation pattern. So, i think that my
Solr app can not work 100%, isn't it?
regards,
An Pham Minh
libraries as well and is loaded properly.
05.08.2013 4:43, anpm1989 пишет:
Hi Artem Karpenko,
- I used Solr 4.4.0
- I copy war file from $SOLR_HOME/dist and rename to solr.war
- I copy solr.war to $JBOSS_HOME/standalone/deployments for deploy
- When solr.war is deploying, i see these warning
-alpha2.
For what it's worth, these are just warnings and seem to not have any
impact on actual class loading.
05.08.2013 16:23, Artem Karpenko пишет:
Hi,
I am able to reproduce the problem. Simple JBoss install, putting
solr.war into deployments/ directory or deploying via web-interface
Hi.
What is the version of Solr?
How exactly have you deployed it?
Have you used the .war file from the dist/ folder?
When do you see those messages?
Best regards,
Artem Karpenko.
02.08.2013 6:24, anpm1989 пишет:
Hello everyone,
I am a newbie with Solr and J2E server. I trying to deploy Solr
I don't use Cygwin, but I guess it's similar in that in Windows there
are no signals at all so situation with missing shutdown hooks is the same.
31.07.2013 20:54, Chris Hostetter пишет:
: it's Windows 7. I'm starting Jetty with java -jar start.jar
Not sure if you are using cygwin, or if this
seem to be working. (Anonymous - via GTD book)
On Tue, Jul 30, 2013 at 10:09 AM, Artem Karpenko a.karpe...@oxseed.com
wrote:
Uh, sorry for spamming, but if anyone interested there is a way to
properly shutdown Jetty when it's launched with --exec flag.
You can use JMX to invoke method stop
After some investigation I found that the problem is not with Jetty's
version but usage of --exec flag.
Namely, when --exec is used (to specify JVM args) then shutdown is not
graceful, it seems that Java process that is just killed.
Not sure how to handle this...
Regards,
Artem Karpenko
not noted at least in Jetty documentation.
Regards,
Artem Karpenko.
30.07.2013 16:58, Artem Karpenko пишет:
After some investigation I found that the problem is not with Jetty's
version but usage of --exec flag.
Namely, when --exec is used (to specify JVM args) then shutdown is not
graceful, it seems
Hi,
when making a backup snapshot using /replication?command=backup call,
a snapshot directory is created and starts to be filled, but appropriate
.lock file is not created so it's impossible to check when backup is
finished. I've taken a look at code and it seems to me that
lock.obtain()
Thanks Mark!
29.07.2013 12:32, Mark Triggs пишет:
Hi Artem,
I noticed this recently too. I created a JIRA issue here:
https://issues.apache.org/jira/browse/SOLR-5040
Cheers,
Mark
Artem Karpenko a.karpe...@oxseed.com writes:
Hi,
when making a backup snapshot using /replication
=solr.IgnoreFieldUpdateProcessorFactory
str name=fieldRegexsolr_.*/str
/processor
You can use full regex patterns or lists of field names. (I have more
examples in my book.)
-- Jack Krupansky
-Original Message-
From: Artem Karpenko
Sent: Thursday, July 25, 2013 11:05 AM
To: solr-user
Hi,
given a dynamic field
dynamicField name=*_boolean type=boolean indexed=true
stored=true /
There are some other suffix-based fields as well. And some of the fields
in document should be ignored, they have nosolr_ prefix. But defining
dynamicField name=nosolr_* type=ignored
18 matches
Mail list logo