6.4.0 Realtime get can't find shard

2017-02-05 Thread Damien Kamerman
Hi, I have a collection with 12 shards using the compositeId router and find that the real-time get always throws an exception 'Can't find shard'. The get works if I specify the exact /collection_shardX_replica1. I specify the 'id' and '_route_' params, for example

Facing an Issue on SOLR box

2017-02-05 Thread Arun Kumar
Hello Team, We are facing an error "Cannot write to config directory /var/solr/data/marketing_prod_career_all_index/conf; switching to use InMemory storage instead." on our SOLR box. As it's occur, SOLR service stopped to response and we have to restart it again. Now it's happening very

Re: Solr 6.4. Can't index MS Visio vsdx files

2017-02-05 Thread Gytis Mikuciunas
Hi again, I've tried with tika-app - didn't help java -jar tika-app-1.14.jar "I:\Dat\span ports.vsdx" Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/schemas/office/visio/x2012/main/ConnectsType at com.microsoft.schemas.office.visio.x2012.main.impl.

Re: Switching from Managed Schema to Manually Edited schema.xml --IS NOT WORKING

2017-02-05 Thread Erick Erickson
This is still using the managed schema specifically the data_driven_configs schema as evidenced by the add-unknown-field-to-the-schema part of the URL. It looks like you're not _really_ removing the managed schema definitions from your solrconfig.xml. You must 1> change solrconfig.xml 2> push it

Switching from Managed Schema to Manually Edited schema.xml --IS NOT WORKING

2017-02-05 Thread Anatharaman, Srinatha (Contractor)
Hi , I am indexing a Text document and followed the steps defined in below URL to create the schema.xml https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig#SchemaFactoryDefinitioninSolrConfig-SwitchingfromManagedSchematoManuallyEditedschema.xml After making

?????? Migrate Documents to Another Collection

2017-02-05 Thread alias
Sorry, I may not be clear enough to express, I describe the following experimental steps: Step 1: Create two collections Http://SOLR:8081/solr/admin/collections?action=CREATE=c1=3=2=3=myconf Http://SOLR:8081/solr/admin/collections?action=CREATE=c2=3=2=3=myconf Step 2: import test data, I only

Re: Migrate Documents to Another Collection

2017-02-05 Thread Damien Kamerman
Try with split.key=! This will migrate all docs. On 6 February 2017 at 14:31, alias <524839...@qq.com> wrote: > I use this command,but not effect: http://localhost:8081/solr/ > admin/collections?action=MIGRATE=c1 > key=c1_=c2, > > > > -- 原始邮件 -- > 发件人: "Erick

?????? Migrate Documents to Another Collection

2017-02-05 Thread alias
I use this command,but not effect?? http://localhost:8081/solr/admin/collections?action=MIGRATE=c1=c1_=c2, -- -- ??: "Erick Erickson"; : 2017??2??6??(??) 11:24 ??:

Re: Migrate Documents to Another Collection

2017-02-05 Thread Erick Erickson
I do not understand the problem. The http command you've shown is simply creating a collection. What does that have to do with migrating from c1 to c2? In fact, it is recreating c1. Assuming you haven't redefined the , then the router field defaults to "id". So this is just recreating a

Re: Find groups where at least one item matches a query

2017-02-05 Thread Joel Bernstein
Take a look at the graph expressions: https://cwiki.apache.org/confluence/display/solr/Graph+Traversal Joel Bernstein http://joelsolr.blogspot.com/ On Sun, Feb 5, 2017 at 3:43 PM, Alexandre Rafalovitch wrote: > What about collapse and expand with overriden query. Something

Re: backward compatibility of Solr 6.3 version with old Sol4j clients

2017-02-05 Thread Damien Kamerman
Regarding CloudSolrServer, I tried this briefly and found the client was only aware of the old shared clusterstate.json. On 4 February 2017 at 06:23, Shawn Heisey wrote: > On 2/3/2017 10:12 AM, Suresh Pendap wrote: > > Will Solrj client 4.10.3 version work with Solr 6.3

Re: Query/Field Index Analysis corrected but return no docs in search

2017-02-05 Thread Koji Sekiguchi
Hi Peter, I'm not sure if I can correctly see the result you attached, I think it sounds reasonable to me that you couldn't get search result, because your query 均匀肤色 is used as it is without being analyzed whereas the same string 均匀肤色 is tokenized as 均匀 匀肤 肤色 in the index. So it is obvious

Migrate Documents to Another Collection

2017-02-05 Thread alias
hello,please help me look this question I have a solr collections on the merger, we would like to ask the next question is as follows I have two collections, c1 and c2, C1 colleciton there are 10 data, id is from c1_0 to c1_9, C2 colleciton also has 10 data, id is from c2_0 to c2_9, I now

回复: bin/post and self-signed SSL

2017-02-05 Thread alias
You mean this can only be used in this version 5.5.x? Other versions invalid? -- 原始邮件 -- 发件人: "Kevin Risden";; 发送时间: 2017年2月6日(星期一) 上午9:44 收件人: "solr-user"; 主题: Re: bin/post and self-signed SSL

Re: bin/post and self-signed SSL

2017-02-05 Thread Kevin Risden
Originally formatted as MarkDown. This was tested against Solr 5.5.x packaged as Lucidworks HDP Search. It would be the same as Solr 5.5.x. # Using Solr * https://cwiki.apache.org/confluence/display/solr/Solr+Start+Script+Reference * https://cwiki.apache.org/confluence/display/solr/Running+Solr *

Migrate Documents to Another Collection

2017-02-05 Thread alias
hello,please help me look this question "https://issues.apache.org/jira/browse/SOLR-10097;

Re: bin/post and self-signed SSL

2017-02-05 Thread Kevin Risden
Last time I looked at this, there was no way to pass any Java properties to the bin/post command. This made it impossible to even set the SSL properties manually. I checked master just now and still there is no place to enter Java properties that would make it to the Java command. I came up with

Re: Find groups where at least one item matches a query

2017-02-05 Thread Alexandre Rafalovitch
What about collapse and expand with overriden query. Something like this (against 6.4 techproducts example): http://localhost:8983/solr/techproducts/select?expand.q=*:*=true={!collapse%20field=manu_id_s}=on=name:CORSAIR=json Note that the main document area contains the head document and the

Re: Find groups where at least one item matches a query

2017-02-05 Thread Cristian Popovici
Doesn't seem to work - I'm doing a query like this and I get only one result q=pathology:normal=true=groupId&*group.limit=2* On Sun, Feb 5, 2017 at 7:20 PM, Nick Vasilyev wrote: > Check out the group.limit argument. > > On Feb 5, 2017 12:10 PM, "Cristian Popovici"

bin/post and self-signed SSL

2017-02-05 Thread Jan Høydahl
Hi, I’m trying to post a document to Solr using bin/post after enabling SSL with self signed certificate. Result is: $ post -url https://localhost:8983/solr/sslColl *.html /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /opt/solr/dist/solr-core-6.4.0.jar -Dauto=yes

Re: Find groups where at least one item matches a query

2017-02-05 Thread Nick Vasilyev
Check out the group.limit argument. On Feb 5, 2017 12:10 PM, "Cristian Popovici" wrote: > Erick, thanks for you answer. > > Sorry - I forgot to mention that I do not know the group id when I perform > the query. > Grouping - I think - does not help for me as it

Re: Find groups where at least one item matches a query

2017-02-05 Thread Cristian Popovici
Erick, thanks for you answer. Sorry - I forgot to mention that I do not know the group id when I perform the query. Grouping - I think - does not help for me as it filters out the documents that do not meet the filter criteria. Example: *q=pathology:Normal=true=groupId* will miss out the

Re: Find groups where at least one item matches a query

2017-02-05 Thread Erick Erickson
Isn't this just "=groupId:223"? Or do you mean you need multiple _groups_? In which case you can use grouping, see: https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results and/or https://cwiki.apache.org/confluence/display/solr/Result+Grouping but do note there are some

Find groups where at least one item matches a query

2017-02-05 Thread Cristian Popovici
Hi all, I'm new to Solr and I need a bit of help. I have a structure of documents indexed in Solr that are grouped together by a property. I need to retrieve all groups where at least one entry in the group matches a query. Example: I have two documents indexed and both share the *groupId