Re: [nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-28 Thread Alisa Z .
Ok, so for the 1st question, I think I'm getting closer:  adding facet: {top_terms_by_doc: "unique(_root_)"} as indicated in http://blog.griddynamics.com/search/label/~Mikhail%20Khludnev returns correct counts. However, sorting is done by the upper faceting not by the unique(_root_): 

BinFileDataSource delta import

2016-03-28 Thread Aswath Srinivasan (TMS)
Hi fellow developers, We are using "BinFileDataSource" datasource in our DIH config file to index local file system files. It is able to index the files however, during the next cycle of indexing, files that were removed from source file system folder is not removed from index. I believe Solr

[nesting] JSON Facet API vs. BlockJoin Faceting: need help on queries (Facet API facets by wrong doc level VS. BlockJoin Faceting does not return top 10 most frequent)

2016-03-28 Thread Alisa Z .
Hi all, I am trying to perform faceting of parent docs by nested document fields. I've tried 2 approaches as in subject, yet in first the results are not quite correct and in the 2nd I cannot get the query right. So I need help on either of them and any explication or documentation or blogs

Re: Is there any JIRA changed the stored order of multivalued field?

2016-03-28 Thread Chris Hostetter
: We do POST to add data to Solr v4.7 and Solr v5.3.2 respectively. The : attachmentnames are in 789, 456, 123 sequence: ... : And we do GET to select data from solr v4.7 and solr v5.3.2 respectively: : http://host:port/solr/collection1/select?q=id:1=json=true ... : Is there any

Re[2]: Solr-5.5.0 doesn't recognize difefrent types of _childDocuments_ any more --degrading since 5.3.1?

2016-03-28 Thread Alisa Z .
Oh, I apologize... When I ran it the first time, I must have tried putting it in a different collection. Now that I saw it and put it into the correct collection (where the schema is adjusted properly), it worked!  Thanks,  that was the solution.    >Понедельник, 28 марта 2016, 14:44 -04:00

Re: Solr-5.5.0 doesn't recognize difefrent types of _childDocuments_ any more --degrading since 5.3.1?

2016-03-28 Thread Erik Hatcher
Alisa - sorry for not seeing this sooner, but I think Yonik is right… try adding `-format solr` to the command-line of bin/post. Solr 5.5 is where the changed occurred to use a different end-point for JSON. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com

Re[2]: Solr-5.5.0 doesn't recognize difefrent types of _childDocuments_ any more --degrading since 5.3.1?

2016-03-28 Thread Alisa Z .
@Yonik, thank you for your response. I think that the issue is of a different kind because my upload used to work well on Solr 5.3.1 and does not want to work on Solr 5.5.0 because of some changes in dynamic schema recognition.  So maybe you could advise on reconsidering the data model that

Re: Unable to create collection in 5.5

2016-03-28 Thread Yago Riveiro
Because I have codebase that relay in logic to resolve the name of collections. With this modification I'm forced to have logic to handled old and new collections when this should be transparent. If I have collection collection-1, collection-2, collection-3 created with a external tool,

Re: Unable to create collection in 5.5

2016-03-28 Thread Anshum Gupta
I'm not sure why this would be a problem as older collections would continue to work just fine. Do you mean that the restriction doesn't allow you to e.g. add a shard with a valid name, to an older collection ? On Mon, Mar 28, 2016 at 9:22 AM, Yago Riveiro wrote: > This

Re: How to implement Autosuggestion

2016-03-28 Thread Reth RM
Solr AnalyzingInfix suggester component: https://lucidworks.com/blog/2015/03/04/solr-suggester/ On Mon, Mar 28, 2016 at 7:57 PM, Mugeesh Husain wrote: > Hi, > > I am looking for the best way to implement autosuggestion in ecommerce > using solr or elasticsearch. > > I guess

Re: Problem in Issuing a Command to Upload Configuration

2016-03-28 Thread Reth RM
I think it should be "zkcli.bat" (all in lower case) that is shipped with solr not zkCli.cmd(that is shipped with zookeeper) solr_home/server/scripts/cloud-scripts/zkcli.bat -zkhost 127.0.0.1:9983 \ -cmd upconfig -confname my_new_config -confdir server/solr/configsets/basic_configs/conf On

Re: Unable to create collection in 5.5

2016-03-28 Thread Yago Riveiro
This kind of stuff can't be released without a way to rename the current collections with hyphens (even for 6.0) \-- /Yago Riveiro ![](https://link.nylas.com/open/m7fkqw0yim04itb62itnp7r9/d6c3ba33ed5f4ac8af3b2 9c07e2c5e91) On Mar 28 2016, at 5:19 pm, Anshum Gupta

Re: Unable to create collection in 5.5

2016-03-28 Thread Anshum Gupta
Yes, this was added in 5.5, though I think it shouldn't have been, specially the hyphens. The hyphen was added back as part of SOLR-8725 but it would only be would with 6.0 (and 5.5.1). On Mon, Mar 28, 2016 at 7:36 AM, Yago Riveiro wrote: > Hi, > > With solr 5.5 I can't

Problem in Issuing a Command to Upload Configuration

2016-03-28 Thread Salman Ansari
Hi, I am facing issue uploading configuration to Zookeeper ensemble. I am running this on Windows as *Command* ** zkCli.cmd -cmd upconfig -zkhost "[localserver]:2181,[second_server]:2181,[third_server]:2181" -confname [config_name] -confdir "[config_dir]" and I got the following result

Unable to create collection in 5.5

2016-03-28 Thread Yago Riveiro
Hi, With solr 5.5 I can't create a collection with the name collection-16, and in 5.3.1 I can do it, Why? 4001org.apache.solr.common.SolrExceptionorg.apache.solr.common.SolrExceptionInvalid name: 'collection-16' Identifiers must consist entirely of periods, underscores and alphanumerics400

Re: SolrJ Indexing

2016-03-28 Thread Mugeesh Husain
Hi, You should use/implement producer consumer program in java using multithreading. USE executor framework in java Like this link http://www.journaldev.com/1069/java-thread-pool-example-using-executors-and-threadpoolexecutor Thanks Mugeesh -- View this message in context:

How to implement Autosuggestion

2016-03-28 Thread Mugeesh Husain
Hi, I am looking for the best way to implement autosuggestion in ecommerce using solr or elasticsearch. I guess using ngram analyzer is not a good way if data is big. Please suggest me any link or your opinion ? Thanks Mugeesh -- View this message in context:

Re: [scottchu] Is it possible to create a new colr in Solr 5.5 using my old schema.xml and solrconfig.xml?

2016-03-28 Thread Shawn Heisey
On 3/28/2016 12:54 AM, scott.chu wrote: > I have old schema.xml and solrconfig.xml from Solr 3.5. I want to rebuild the > core structure in Solr 5.5. I got some questions to request for answer or > suggestions: > > 1. Can I just put these 2 old xmls into the config folder and issue >

RE: failed to connect solr server through my website

2016-03-28 Thread Adel Mohamed Khalifa
Hello Andrea, I blocked my firewall and my search website connect perfectly to solr engine when in netbeans at windows but when I send it to production or use it through netbeans in Ubuntu it cannot be connect Regards, Adel Khalifa From: Andrea Gazzarini [mailto:gxs...@gmail.com]

Re: SolrCloud: published host/port

2016-03-28 Thread Hendrik Haddorp
Thanks, that seems to work. A bit more complicated then in ES but doable. Hendrik On 24/03/16 17:25, Tomás Fernández Löbbe wrote: > I believe this can be done by setting the "host" and "hostPort" elements in > solr.xml. In the default solr.xml they are configured in a way to support > also

Re: XJoin, a way to use external data sources with Solr

2016-03-28 Thread Zisis Tachtsidis
Hi Tom, Thanks for clarifying the purpose of XJoin, makes sense now. Hope it makes it into Solr's main branch, this could prove useful! For the time being PostFilter covers my needs. -- View this message in context:

Re: Use default field, if more specific field does not exist

2016-03-28 Thread Emir Arnautovic
Hi Georg, I cannot think of similar trick that would enable you to facet on all values (other than applying this trick to buckets of size 1) but would warn you about faceting of high cardinality fields such as price. Not sure if you have some specific case, but calculating facet for such

RE: Indexing docuements in Solr 5 Using Tika extraction error

2016-03-28 Thread Allison, Timothy B.
> If you're going to use Tika for production indexing, you should write > a Java program using SolrJ and Tika so that you are in complete > control, and so Solr isn't unstable. +1

Re: failed to connect solr server through my website

2016-03-28 Thread Andrea Gazzarini
Hi Adel, As far as I know, the mailing list doesn't allow attachments. Please paste the relevant part of your log Andrea On 28 Mar 2016 11:18, "Adel Mohamed Khalifa" wrote: > Hello All, > > > > I failed to connect solr server through my website, I attached my solr log >

RE: Making my own search website

2016-03-28 Thread Andrea Gazzarini
Hi Adel, Is it possible that something (i.e. inbound or outbound firewall) forbids the access to Solr from that machine? Andrea On 27 Mar 2016 14:46, "Adel Mohamed Khalifa" wrote: > Thanks Andrea, > > > > I want to say if my string is wrong it would not connect when I

Re: score mixing

2016-03-28 Thread Mikhail Khludnev
Hello Michael, You have a good chance with _val_:rank, I suppose see https://cwiki.apache.org/confluence/display/solr/Function+Queries. Beware of query parsing traps, check that query is parsed properly. On Sun, Mar 27, 2016 at 11:57 AM, michael solomon wrote: > Hi, > I

failed to connect solr server through my website

2016-03-28 Thread Adel Mohamed Khalifa
Hello All, I failed to connect solr server through my website, I attached my solr log if anyone can help me please? Regards, Adel Khalifa | Developer | Saudisoft-Egypt | Tel: +2 023 303 2037 - ext 112 | M +2 01149247744 | Fax +2 023 303 2036 | Follow us on

[scottchu] Is it possible to create a new colr in Solr 5.5 using my old schema.xml and solrconfig.xml?

2016-03-28 Thread scott.chu
I have old schema.xml and solrconfig.xml from Solr 3.5. I want to rebuild the core structure in Solr 5.5. I got some questions to request for answer or suggestions: 1. Can I just put these 2 old xmls into the config folder and issue 'bin\solr.cmd -c corename -d config folder path' to build a

Re: scottchu] How to rebuild master-slave multi-core with schema.xml from old verison in Solr 5.5

2016-03-28 Thread Reth RM
Hi Scott, It is same as how we would do in earlier versions of solr. On the master instance, include the replication handler definition with master configs(as shown below). optimize optimize schema.xml,stopwords.txt,elevate.xml And on the slave instance, add the master url under slave