Facet sorting algorithm for index

2015-04-02 Thread yriveiro
Hi, I have an external application that use the output of a facet to join other dataset using the keys of the facet result. The facet query use index sort but in some point, my application crash because the order of the keys is not correct. If I do an unix sort over the keys of the result with

Query always fail if row value is too high

2015-02-09 Thread yriveiro
I'm trying to retrieve from Solr a query in CSV format with around 500K registers and I always get this error: Expected mime type application/octet-stream but got application/xml. ?xml version=\1.0\ encoding=\UTF-8\?\nresponse\nlst name=\error\str name=\msg\application/x-www-form-urlencoded

How I raise the maxUpdateConnections under Solr 4.6.1

2014-12-10 Thread yriveiro
Hi, How I can raise this two variables: maxUpdateConnections, maxUpdateConnectionsPerHost in Solr 4.6.1 with the old solr.xml style? /Yago - Best regards -- View this message in context:

Move a shard from one disk to another

2014-11-26 Thread yriveiro
Hi, I need to move some data from one disk to another one. My question is if can I move the shard and do a symlink on the place where the shard was? This works? - Best regards -- View this message in context:

Optimize during indexing

2014-11-21 Thread yriveiro
Hi, It´s possible perform an optimize operation and continuing indexing over a collection? I need to force expunge deletes from the index I have millions os deletes and need free space. - Best regards -- View this message in context:

Delete data from stored documents

2014-11-06 Thread yriveiro
Hi, It's possible remove store data of an index deleting the unwanted fields from schema.xml and after do an optimize over the index? Thanks, /yago - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Delete-data-from-stored-documents-tp4167990.html Sent

Adding DocValues in an existing field

2014-01-30 Thread yriveiro
Hi, Can I add to an existing field the docvalue feature without wipe the actual? The modification on the schema will be something like this: field name=surrogate_id type=tlong indexed=true stored=true multiValued=false / field name=surrogate_id type=tlong indexed=true stored=true

Facets maxcount feature?

2014-01-15 Thread yriveiro
Hi, I'm wondering if Solr has some feature like face.mincount but for maxcount. I have an use case where I need to know what facets have less than n elements. I can do this adding the facet.limit=-1 parameter and fetch the whole set and client-side remove the elements that don't match the

Service Unavailable Error.

2013-12-18 Thread yriveiro
I having this error on my logs: ERROR - dat1 - 2013-12-18 11:40:11.704; org.apache.solr.update.StreamingSolrServers$1; error org.apache.solr.common.SolrException: Service Unavailable request:

No registered leader was found, but the UI says that I have.

2013-12-18 Thread yriveiro
I'm getting an error on Solr 4.6.0 about leader registation, the admin shows this: http://picpaste.com/a839446d0808df205aa7be78c780ed32.png But my logs says: ERROR - dat6 - 2013-12-18 11:43:54.253; org.apache.solr.common.SolrException; org.apache.solr.common.SolrException: No registered leader

Question about external file fields

2013-12-05 Thread yriveiro
Hi, I read this post http://1opensourcelover.wordpress.com/ about EEF's and I found very interesting. Can someone give me more use cases about the utility of EEF's? /Yago - Best regards -- View this message in context:

Migration from old solr.xml to the new solr.xml style

2013-11-30 Thread yriveiro
Hi, There is some way to automatically migrate from old solr.xml style to the new? /Yago - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Migration-from-old-solr-xml-to-the-new-solr-xml-style-tp4104154.html Sent from the Solr - User mailing list archive

Question about upgrading Sorl and DocValues

2013-11-19 Thread yriveiro
Hi, After the reading this link about DocValues and be pointed by Mark Miller to raise the question on the mailing list, I have some questions about the codec implementation note: Note that only the default implementation is supported by future version of Lucene: if you try an alternative

Configure maxConnectionsPerHost

2013-11-14 Thread yriveiro
Hi, Where can I configure the maxConnectionsPerHost on Solr? I'm using Solr 4.5.1 with the old style of solr.xml (I have a lot of collections and switch to the new style of solr.xml is too much work) - Best regards -- View this message in context:

Document routing question.

2013-11-14 Thread yriveiro
Hi, I read this post http://searchhub.org/2013/06/13/solr-cloud-document-routing and I have some questions. When a tenant is too large to fit on one shard, we can specify the number of bit from the shardKey that we want to use. If we set a doc's key as tenant1/4!docXXX we are saying to spread

Re: SolrCloud unstable

2013-11-12 Thread yriveiro
Sometime ago I posted this issue http://lucene.472066.n3.nabble.com/Leader-election-fails-in-some-point-td4096514.html The link for screenshot is no longer available. When some shard fails and lost the leader I have those exceptions. - Best regards -- View this message in context:

2 replicas with different num of documents

2013-11-04 Thread yriveiro
Hi, I have 2 replicas with different number of documents, Is it possible? I'm using Solr 4.5.1 Replica 1: version:77847 numDocs:5951879 maxDoc:5951978 deletedDocs:99 Replica 2: version:76011 numDocs:5951793 maxDoc:5951965 deletedDocs:172 Is it not supposed tlog ensure the data consistency?

Proposal for new feature, cold replicas, brainstorming

2013-10-24 Thread yriveiro
I'm wondering some time ago if it's possible have replicas of a shard synchronized but in an state that they can't accept queries only updates. This replica in replication mode only awake to accept queries if it's the last alive replica and goes to replication mode when other replica becomes

Solr 4.5 router.name issue?

2013-10-22 Thread yriveiro
Hi, I create a collection with command (Solr 4.5): http://localhost:8983/solr/admin/collections?action=CREATEname=testDocValuescollection.configName=page-statisticsnumShards=12maxShardsPerNode=12router.field=month The documentation says that the default router.name it's compositeId. The

Question about sharding and overlapping

2013-10-22 Thread yriveiro
Hi, I created a collection with 12 shards and route.field=month (month field will have values between 1 .. 12) I notice that I have shards with more that a month into them. This could left empty some shard and I want the documents one month in each shard. My question is, how I configure the

Question about docvalues

2013-10-21 Thread yriveiro
Hi, If I have a field (named dv_field) configured to be indexed, stored and with docvalues=true. How I know that when I do a query like: q=*:*facet=truefacet.field=dv_field, I'm really using the docvalues and not the normal way? Is it necessary duplicate the field and set index and stored to

Leader election fails in some point.

2013-10-18 Thread yriveiro
Hi, In this screenshot I have a shard with two replicas without leader, http://picpaste.com/qf2jdkj8.png On machine with shard green I found this exception: INFO - dat5 - 2013-10-18 22:48:04.775; org.apache.solr.handler.admin.CoreAdminHandler; Going to wait for coreNodeName:

Cores with lot of folders with prefix index.XXXXXXX

2013-10-11 Thread yriveiro
Hi, I have some cores with lot of folder with format index.X, my question is why? The collateral effect of this are shards with 50% of size than replicas in other nodes. There is any way to delete this folders to free space? It's a bug? /Yago - Best regards -- View this message in

Split shard doesn't persist data correctly on solr.xml

2013-10-07 Thread yriveiro
I notice that when a SPLISHARD operation finish, the solr.xml is not update properly. # Parent solr.xml: core numShards=2 name=test_shard1_replica1 instanceDir=test_shard1_replica1 shard=shard1 collection=test/ # Children solr.xml: core name=test_shard1_0_replica1 shardState=construction

Solr 4.5 - CoreAPI issue with CREATE

2013-10-07 Thread yriveiro
Hi, I'm doing replicas for my shards manually and the solr.xml config doesn't save the changes (solr.xml attribute persist = true). The command used is: curl 'http://192.168.2.18:8983/solr/admin/cores?action=CREATEname=test_shard1_replica2collection=testshard=shard1' Someone else with the

Shard split issue

2013-10-05 Thread yriveiro
Hi, Yesterday I did a SPLITSHARD operation on one of my shards (50G size), today the cluster state says that the children are in construction state and the parent is active. Is it not supposed that the parent becomes to inactive state and the new 2 shards becomes to active state? An split takes

SolrCloud distribute search question.

2013-10-04 Thread yriveiro
Hi, When a distributed search is done, the inital query is forwarded to all shards that are part of the specific collection that we are querying. My question here is, Which is the machine that does the aggregation for results from shards? Is the machine which receives the initial request? I

ALIAS feature, can be used for what?

2013-09-26 Thread yriveiro
Today I was thinking about the ALIAS feature and the utility on Solr. Can anyone explain me with an example where this feature may be useful? It's possible have an ALIAS of multiples collections, if I do a write to the alias, Is this write replied to all collections? /Yago - Best regards

Solr Ref guide question

2013-08-22 Thread yriveiro
Hi all, I think that there is some lack in solr's ref doc. Section Running Solr says to run solr using the command: $ java -jar start.jar But If I do this with a fresh install, I have a stack trace like this: http://pastebin.com/5YRRccTx Is it this behavior as expected? - Best regards

Docvalue on a StrField equal a codec error

2013-05-31 Thread yriveiro
Hi, I have this error on a solr.StrField defined in my schema: FieldType 'string_dv' is configured with a docValues format,​ but the codec does not support it. fieldtype name=string_dv class=solr.StrField sortMissingLast=true omitNorms=true docValuesFormat=Disk/ In documentation

SPLITSHARD: time out error

2013-05-30 Thread yriveiro
Hi, I have a time out error when I try to split a collection with 15M documents The exception (solr version 4.3): 542468 [catalina-exec-27] INFO org.apache.solr.servlet.SolrDispatchFilter – [admin] webapp=null path=/admin/collections

Disable all caches in solr

2013-05-28 Thread yriveiro
Hi, How I can disable all caches that solr use? Regards /Yago - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Disable-all-caches-in-solr-tp4066517.html Sent from the Solr - User mailing list archive at Nabble.com.

Query syntax error: Cannot parse ....

2013-05-28 Thread yriveiro
Hi, When I try run this query, http://localhost:8983/solr/coreA/select?q=source_id:(7D1FFB# OR 7D1FFB) city:ES, I have the error below: response lst name=responseHeader int name=status400/int int name=QTime1/int /lst lst name=error str name=msg org.apache.solr.search.SyntaxError: Cannot parse

The SPLITSHARD action doesn't honor the replicationFactor of a collection

2013-05-21 Thread yriveiro
Hi, I'm playing a little with the new feature to SPLIT shards. In my first tests, I realised the fact that if I do a split on a shard with replicationFactor=2 per example, the result of the split operation doesn't have the same replicationFactor, Is this the supposed behaviour of split? If is

SPLITSHARD: Error if I try to split a shard again

2013-05-21 Thread yriveiro
Hi, I have this error if a try to split a shard again (The version of solr is 4.3.0): 19911726 [qtp1949819426-565] INFO org.apache.solr.handler.admin.CollectionsHandler ? Splitting shard : shard=shard1action=SPLITSHARDcollection=RPS-00-12 19911729 [main-EventThread] INFO

Error on recovery

2013-05-10 Thread yriveiro
Hi, I have a node that can't finish the recovery. The log shows this error: 3836028 [RecoveryThread] ERROR org.apache.solr.cloud.RecoveryStrategy – Recovery failed - trying again... (0) core=ST-XXX_0712 3836028 [RecoveryThread] ERROR org.apache.solr.cloud.RecoveryStrategy – Recovery failed -

Re: Lazy load Error on UI analysis area

2013-05-08 Thread yriveiro
Ok, I will do a fresh install in a VM and check that the error isn't reproduce. - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Lazy-load-Error-on-UI-analysis-area-tp4061291p4061512.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Lazy load Error on UI analysis area

2013-05-08 Thread yriveiro
I found the error, the class of analysis field request handler was not set properly. - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Lazy-load-Error-on-UI-analysis-area-tp4061291p4061526.html Sent from the Solr - User mailing list archive at Nabble.com.

ERROR: incref on a closed log

2013-05-08 Thread yriveiro
Hi all, I upgrade my solrcluster today from 4.2.1 to 4.3. On startup I can see some error like this: 2449515 [catalina-exec-51] ERROR org.apache.solr.core.SolrCore – org.apache.solr.common.SolrException: incref on a closed log:

Lazy load Error on UI analysis area

2013-05-07 Thread yriveiro
Hi, I was exploring the UI interface and in the analysis section I had a lazy load error. The logs says: INFO - 2013-05-07 11:52:06.412; org.apache.solr.core.SolrCore; [] webapp=/solr path=/admin/luke params={_=1367923926380show=schemawt=json} status=0 QTime=23 ERROR - 2013-05-07

Re: Error creating collection

2013-04-23 Thread yriveiro
The solr version is 4.2.1. Here the stack trace: SEVERE: org.apache.solr.common.SolrException: Error CREATEing SolrCore XXX': Could not get shard_id for core: XXX coreNodeName:192.168.20.47:8983_solr_XXX$ at

Error creating collection

2013-04-22 Thread yriveiro
I get this exception when I try to create a new collection. someone have any idea that what's going on? org.apache.solr.common.SolrException: Error CREATEing SolrCore 'RPS_12': Could not get shard_id for core: RPS_12 coreNodeName:192.168.20.48:8983_solr_RPS_12 - Best regards -- View this

Severe errors in log

2013-04-22 Thread yriveiro
I have got this in my logs. What's that mean? ConcurrentLRUCache was not destroyed prior to finalize(),​ indicates a bug -- POSSIBLE RESOURCE LEAK!!! - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Severe-errors-in-log-tp4057860.html Sent from the Solr -

The overseer is stucks

2013-04-22 Thread yriveiro
Hi,My overseer has enqueued more than 1 task and apparently is stuck. Exists any way to force to do the enqueued tasks?A screenshot of the overseer queue here http://tinypic.com/r/r8uhqq/4 - Best regards -- View this message in context:

Too many close, count -1

2013-04-22 Thread yriveiro
Hi, Reviewing the solr's log I found this message. The solr version is 4.2.1, running in a tomcat 7 4973652:SEVERE: Too many close [count:-1] on org.apache.solr.core.SolrCore@5795a627. Please report this exception to solr-user@lucene.apache.org 5003386:SEVERE: REFCOUNT ERROR: unreferenced

Found child node with improper name

2013-04-01 Thread yriveiro
I have this warning when I try to create a collection and the collection is not created. Apr 01, 2013 10:05:26 AM org.apache.solr.handler.admin.CollectionsHandler handleCreateAction INFO: Creating Collection :

clusterstate.json size

2013-03-30 Thread yriveiro
Hi, Is there a size limitation for the clusterstate file? I can't create more collections for my cluster I have no error but the CREATE command not return any response. I read in the past that the max size for a file in zookeeper was 1MB, my clusterstate file has 1.1MB. It's possible be this

Error creating collection using CORE-API

2013-03-25 Thread yriveiro
: /Users/yriveiro/Dump/solrCloud/node00.solrcloud/solr/home/RT-4A46DF1563_12 Mar 25, 2013 5:15:35 PM org.apache.solr.cloud.ZkController createCollectionZkNode INFO: Check for collection zkNode:RT-4A46DF1563_12 Mar 25, 2013 5:15:35 PM org.apache.solr.cloud.ZkController createCollectionZkNode INFO

Re: Solr 4.2 mechanism proxy request error

2013-03-19 Thread yriveiro
Solr 4.2.1 will solve this issue? - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-2-mechanism-proxy-request-error-tp4047433p4049127.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr 4.2 mechanism proxy request error

2013-03-14 Thread yriveiro
Hi, I think that in solr 4.2 the new feature to proxy a request if the collection is not in the requested node has a bug. If I do a query with the parameter rows=0 and the node doesn't have the collection. If the parameter is rows=4 or superior then the search works as expected the curl

Re: Solr 4.2 mechanism proxy request error

2013-03-14 Thread yriveiro
The log of the UI null:org.apache.solr.common.SolrException: Error trying to proxy request for url: http://192.168.20.47:8983/solr/ST-3A856BBCA3_12/select I will open the issue in Jira. Thanks - Best regards -- View this message in context:

SolrCloud index timeout

2013-03-11 Thread yriveiro
Hi, I have the next issue: I have a collection with a leader and a replica, both are synchronized. When I try to index data to this collection I have a timeout error (the output is python): (class 'requests.exceptions.Timeout', Timeout(TimeoutError(HTTPConnectionPool(host='192.168.20.50',

Re: SolrCloud index timeout

2013-03-11 Thread yriveiro
Hi, The version is the 4.1 I'm not mixing deletes and adds, are only adds. I have a 4 nodes in 2 physical machines, 2 instances of tomcat in each machine. In this case the leader is located in a diferent physical machine that the replica. The collection has all shards in different nodes, I have

Facet get distinct terms

2013-02-27 Thread yriveiro
Hi all, Anyone know if this patch works in distributed collections and if it's reliable? https://issues.apache.org/jira/browse/SOLR-2242 Thanks. /Yago - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-get-distinct-terms-tp4043350.html Sent from

Eject a node from SolrCloud

2013-02-07 Thread yriveiro
Hi, Exists any way to eject a node from a solr cluster? If I shutdown a node in the cluster, the zookeeper tag the node as down. Thanks /Yago - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Eject-a-node-from-SolrCloud-tp4038950.html Sent from the

SolrCloud sort inconsistency

2013-01-13 Thread yriveiro
How is possible that this sorted query returns different results? The highest value is the id P2450024023, sometimes the value returned is not the highest. This is an example, the second curl request is the correct result. NOTE: I did the query when a indexing process was running. ➜ ~ curl

Re: Atomic Updates, Payloads, Non-stored data

2012-12-02 Thread yriveiro
Hi, Exists some issue open in the Solr Project about this issue? Thanks - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Updates-Payloads-Non-stored-data-tp4006678p4023789.html Sent from the Solr - User mailing list archive at Nabble.com.

Count disctint groups in grouping distributed

2012-09-12 Thread yriveiro
Hi, Exists the possibility of do a distinct group count in a grouping done using a sharding schema? This issue https://issues.apache.org/jira/browse/SOLR-3436 make a fixe in the way to sum all groups returned in a distributed grouping operation, but not always we want the sum, in some cases is

Re: groups.limit=0 in sharding core results in IllegalArgumentException

2012-09-07 Thread yriveiro
Hi, I have the same issue using solr 4.0-ALPHA. -- View this message in context: http://lucene.472066.n3.nabble.com/groups-limit-0-in-sharding-core-results-in-IllegalArgumentException-tp4006086p4006110.html Sent from the Solr - User mailing list archive at Nabble.com.