t strange that some documents were updated (atomic updates)
> correctly and other ones not? Can´t it be a more serious problem like some
> kind of index writer lock, or whatever?
>
> Regards,
>
> - Luis Cappa.
>
> 2012/11/22 Sami Siren
>
> > I think the problem
I think the problem is that even though you were able to work around the
bug in the client solr still uses the xml format internally so the atomic
update (with multivalued field) fails later down the stack. The bug you
filed needs to be fixed to get the problem solved.
On Thu, Nov 22, 2012 at 8:1
g like:
>
> // returns a list of solr servers in the zookeeper ensemble that store the
> given collection
> List getServers(String zkhost, String collectionName)
>
You can use ZKStateReader (#getClusterState) to get this info.
--
Sami Siren
hi,
did you try setting your values in a List, for example ArrayList it should
work when you use that even without specifying reguest-/response writer.
--
Sami Siren
On Thu, Nov 15, 2012 at 4:56 PM, Luis Cappa Banda wrote:
> Hello,
>
> I´ve found what It seems to be a bug
> J
omething wrong and I´m so stupid that I can´t see it, :-(
>- The way I update fields is not the correct one.
>- There is a general bug with atomic updates via SolrJ.
>
>
> Regards,
>
>
> - Luis Cappa.
>
>
> 2012/11/15 Luis Cappa Banda
>
> > I´ll
yway.
The Affects version should be 4.0.
On Thu, Nov 15, 2012 at 1:42 PM, Luis Cappa Banda wrote:
> Hello, Sami.
>
> It will be the first issue that I open so, should I create it under Solr
> 4.0 version or in Solr 4.1.0 one?
>
> Thanks,
>
> - Luis Cappa.
>
> 2012/11/15 S
t;));
prints "tag1"
ArrayList as a value works the same way as String[].
When using xml (RequestWriter) I can see the problem that you are
describing, can you add a jira for that?
--
Sami SIren
>
> Regards,
>
>
> - Luis Cappa.
>
> 2012/11/15 Luis Cappa Banda
t
uses solrj to demonstrate the problem. Based on the available
information it is really difficult try to guess what's happening.
--
Sami Siren
iate the client every time.
When the client seems to be hanging, can you still access the Solr
instance normally and execute updates/searches from other clients?
--
Sami Siren
re not
> actually getting set. Anyone seen this problem or have an idea how to
> resolve?
I did some experiments with the solrj and from what it looked like it
seems to respect the values that you set.
--
Sami Siren
i just tried this with tomcat and the props work for me. Did you wipe
out your zoo_data before starting with the additional system
properties?
here's how i ran it:
JAVA_OPTS="-DzkRun -DnumShards=1 -Djetty.port=8080
-Dbootstrap_conf=true -Dhost=127.0.0.1" bin/catalina.sh run
--
S
are using a name "dm-search-sr-01"
> instead of the ip address associated to the server. Is there a way to set
> this to the ipaddress instead?
If you use the example configuration then take a look at solr.xml. In
it's current state it accepts port in system property called
"jetty.port" and the hostname or in your case the ip in "host".
So adding -Djetty.port=xxx -Dhost=yyy to you JAVA_OPTS allow you to
set them when using the default solr.xml.
--
Sami Siren
hi,
Can you share a little bit more about your configuration: how many
shards, # of replicas, how does your clusterstate.json look like,
anything suspicious in the logs?
--
Sami Siren
On Mon, Sep 24, 2012 at 11:13 AM, Daniel Brügge
wrote:
> Hi,
>
> I am running Solrcloud 4.0-BETA a
also, did you re create the cluster after upgrading to a newer
version? I believe there were some changes made to the
clusterstate.json recently that are not backwards compatible.
--
Sami Siren
On Wed, Sep 19, 2012 at 6:21 PM, Sami Siren wrote:
> Hi,
>
> I am having troubles unde
Hi,
I am having troubles understanding the reason for that NPE.
First you could try removing the line #102 in HttpClientUtility so
that logging does not prevent creation of the http client in
SyncStrategy.
--
Sami Siren
On Wed, Sep 19, 2012 at 5:29 PM, Markus Jelsma
wrote:
> Hi,
>
&
I opened SOLR-3789. As a workaround you can remove internal from the config and it should work.
--
Sami Siren
On Wed, Sep 5, 2012 at 5:58 AM, Ravi Solr wrote:
> Hello,
> I have a very simple setup one master and one slave configured
> as below, but replication keeps fai
Based on the stack trace it seems that DIH uses URLConnection. You
might want to try setting the proxy related system properties for the
jvm that runs Solr:
http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
--
Sami Siren
On Fri, Aug 31, 2012 at 9:58 AM, Molala, Nagaraj
ique");
doc.addField("_version_", version); // this is needed only if
optimistic locking is to be used
HashMap value = new HashMap();
value.put("set",100);
doc.addField("price_f", value);
--
Sami Siren
amters, is this normal?
yes, to control the format used by the client there's a method
HttpSolrServer#setParser that set's the client parser (that also
overrides the wt param when the request is made)
--
Sami Siren
ok,
I see what you mean. Looks to me that you're right. I am not too
familiar with the LeaderElector so I'll let Mark take a second look.
--
Sami Siren
On Wed, Jun 27, 2012 at 11:32 AM, "Trym R. Møller" wrote:
> Hi Sami
>
> Regarding 2) A "simple" way t
the test method to LeaderElectionIntegrationTest and ran it
few times but I can't get it to fail.
--
Sami Siren
=true -H 'Content-type:application/json' -d '{ "add":
{ "doc": { "id": "id", "title": "test", "price_f": 10 }}}'
curl $URL?commit=true -H 'Content-type:application/json' -d '{ "add":
{ "doc": { "id": "id", "price_f": {"set": 5'
If you are using solrj then there's a junit test method,
testUpdateField(), that does something similar:
http://svn.apache.org/viewvc/lucene/dev/trunk/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java?view=markup
--
Sami Siren
t accept updates (even if that side has a working
zk setup).
> Now imagine if the client sending documents for indexing happened to be
> sending documents to 2 nodes, say in round-robin fashion.
In my understanding all updates are routed through a shard leader.
--
Sami Siren
equest req = new ContentStreamUpdateRequest(
"/update/extract");
req.setParam("literal.id", "doc");
req.addFile(new File(
"solr/contrib/dataimporthandler-extras/src/test-files/dihextras/solr-word.pdf"));
server.request(req);
server.commit();
--
Sami Siren
The api doc for version 3.6.0 is available here:
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.html
I think the default is coming from your OS if you are not setting it explicitly.
--
Sami Siren
On Fri, Jun 15, 2012 at 8:22 PM, Kissue Kissue
What is the version of solrj you are trying to get working?
If you download version 3.6 of solr there's a directory dist/solrj-lib
in the binary release artifact that includes the required
dependencies. I would start with those.
--
Sami Siren
On Wed, Jun 6, 2012 at 5:34 PM, Welty, Ri
x27;t those go into lucene/solr/dist/solrj-lib as wel?
Yes they should.
> Do I need to create a ticket for this?
Please do so.
--
Sami Siren
Vicente,
Are you using CommonsHttpSolrServer or HttpSolrServer? If the latter
then you are probably hitting this:
https://issues.apache.org/jira/browse/SOLR-3375
The remedy is to use CommonshHttpSolrServer.
--
Sami Siren
On Thu, May 31, 2012 at 7:52 AM, Vicente Couto wrote:
> Hello, J
Hi,
If you're using non ascii data with solrj you might want to test that
it works for you properly. See for example
https://issues.apache.org/jira/browse/SOLR-3375
--
Sami Siren
On Fri, May 25, 2012 at 10:11 AM, Cam Bazz wrote:
> Hello,
>
> I have upgraded from 1.4 to 3.6 -
eventually become solr 3.6.1.
For now I recommend you use the Commons version of the solr server (if
You need to be on released version) or then just check out the fixed
version from the 3.6 branch.
--
Sami Siren
On Thu, May 24, 2012 at 6:23 PM, Shane Perry wrote:
> Hi,
>
> Upgrading fr
Ron,
Did you actually add new xslt file there or did you try to use the
example one, if the latter I believe the filename is example.xsl not
example.xslt
--
Sami Siren
On Wed, May 23, 2012 at 5:30 PM, watson wrote:
> Here is my query:
> http://127.0.0.1:/solr/JOBS/select/??q=Apa
What version of solr (solrj) are you using?
--
Sami SIren
On Thu, May 24, 2012 at 8:41 AM, in.abdul wrote:
> Hi Dmitry ,
>
> There is no out of memory execution in solr ..
> Thanks and Regards,
> S SYED ABDUL KATHER
>
>
>
> On Thu, May 24, 2012
th for example separate hard discs for
each shard splitting your index into smaller shards can in some cases
make a huge difference in one box too.
--
Sami Siren
ke a reasonable feature so I would classify
this as a bug. Not sure what others thing about it.
--
Sami Siren
it seems to be working now.
--
Sami Siren
On Thu, Apr 19, 2012 at 3:12 PM, Sami Siren wrote:
> I have a simple solrcloud setup from trunk with default configs; 1
> shard with one replica. As few other people have reported there seems
> to be some kind of leak somewhere that causes the number of open files
> to grow over tim
e for this? I don't even know
where to start looking...
--
Sami Siren
around 400-500.
--
Sami Siren
On Thu, Mar 1, 2012 at 12:36 PM, Markus Jelsma
wrote:
> Hi,
>
> Yesterday we had an issue with too many open files, which was solved because
> a username was misspelled. But there is still a problem with open files.
>
> We cannot succesfully in
oud (1 shard, no replicas)
cd solr/cloud-dev
sh ./control.sh rebuild
sh ./control.sh reinstall 1
sh ./control.sh start 1
#index content
java -jar ../example/exampledocs/post.jar ../example/exampledocs/*.xml
#after that you can run your queries
--
Sami Siren
is going on, are you sure the open file descriptor
(32k) limit is active for the user running solr?
--
Sami Siren
ime.
How did you check the number of filedescriptors used? Did you get this
number from the system info handler
(http://hotname:8983/solr/admin/system?indent=on&wt=json) or somehow
differently?
--
Sami Siren
On Fri, Feb 24, 2012 at 12:06 PM, Per Steffensen wrote:
> Sami Siren skrev:
>
>>>> Given that you've set a uniqueKey-field and there already exists a
>>>> document with that uniqueKey, it will delete the old one and insert the
>>>> new one. Ther
but you should be able to
get the latest data from Solr by using
realtime get http://wiki.apache.org/solr/RealTimeGet
--
Sami Siren
sue with that
setup or not.
--
Sami Siren
be changed at some point.
--
Sami Siren
Do you have unique dataDir for each instance?
13.2.2012 14.30 "Jamie Johnson" kirjoitti:
On Mon, Feb 6, 2012 at 5:55 PM, Per Steffensen wrote:
> Sami Siren skrev:
>
>> On Mon, Feb 6, 2012 at 2:53 PM, Per Steffensen
>> wrote:
>>
>>
>>
>>>
>>> Actually right now, I am trying to find our what my bottleneck is. The
>>&g
ght not be a
> Solr-related problem, I am investigating different things, but just wanted
> to know a little more about how Jetty/Solr works in order to make a
> qualified guess.
What kind of/how many discs do you have for your shards? ..also what
kind of server are you experimenting with?
--
Sami Siren
ate whether the last minutes of adds
> made it.
In addition to what Jan said I think you also need to watch out for
out of memory exceptions and filled disk space because I think you
loose your docs (since last commit) in those cases too.
--
Sami Siren
Does all your 913 documents contain a unique key? The uniqueKey field
is "id" by default.
--
Sami Siren
On Wed, Jan 25, 2012 at 3:16 PM, m0rt0n wrote:
> Thanks a lot for your answer; really appreciated.
>
> Unfortunately, I am still getting the same number of resu
llection1". So to
reload that you'd call url:
http://localhost:8983/solr/admin/cores?action=RELOAD&core=collection1
--
Sami Siren
er of things yourself,
> even if they might be done by SolrCloud automatically in the future.
There is a patch in Jira: https://issues.apache.org/jira/browse/SOLR-2355
that adds a update processor suitable for doing simple distributed
indexing with current version of Solr.
--
Sami Siren
; [] Other (someone in your company mirrors them internally or via a downstream
> project)
--
Sami Siren
post.jar also supports specifying alternative url, see output from
java -jar post.jar -help
for more info.
--
Sami Siren
uday kumar maddigatla wrote:
hi
you mis understood my question.
When i try to use the command java -post.jar *.*. It is trying to Post files
in Solr which is there in
://issues.apache.org/jira/secure/attachment/12394266/apache_solr_b_red.jpg
--
Sami Siren
Ryan McKinley wrote:
Please submit your preferences for the solr logo.
For full voting details, see:
http://wiki.apache.org/solr/LogoContest#Voting
The eligible logos are:
http://people.apache.org
I don't recall any differences in tomcat 6 configuration compared to
tomcat 5, did you try to follow the information on wiki for tomcat 5 on
your installation?
--
Sami Siren
Matthew Runo wrote:
> Ok, I updated it. I hope it makes sense =\
>
> I'm not really familiar enou
what Lucene
has recently experienced (fully usable maven artifacts for releases and
nightly builds).
If it has any value I could at least put some poms together.
--
Sami Siren
; repo. If they do nightly snapshots, it will be there
Each project must actively push [1] released artifacts to maven
repository, there is no other way of getting them there.
[1] http://www.apache.org/dev/release-publishing.html#maven-repo
--
Sami Siren
i plan to
integrate after 0.9.0 is out.
--
Sami Siren
[1]http://blog.foofactory.fi/2007/02/online-indexing-integrating-nutch-with.html
build these
nice utilities to be usable between projects. Not exactly sure how this
could be accomplished but anyway something to consider.
--
Sami Siren
60 matches
Mail list logo