AW: AW: AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Clemens Wyss DEV
> The recommendation these days is to NOT use the embedded server We would love to, as it is clear that this is not the "Solr-way" to go. The reason for us building upon EmbeddedSolrServer is, we have more than 150sites, each with ist own index (core). If we'd go client server then we could no e

Re: Cannot reindex to add a new field

2015-01-29 Thread Dan Davis
For this I prefer TemplateTransformer to RegexTransformer - its not a regex, just a pattern, and so should be more efficient to use TemplateTransformer. A script will also work, of course. On Tue, Jan 27, 2015 at 5:54 PM, Alexandre Rafalovitch wrote: > On 27 January 2015 at 17:47, Carl Roberts

solrj returning no results but curl can get them

2015-01-29 Thread S L
I'm stumped. I've got some solrj 3.6.1 code that works fine against three of my request handlers but not the fourth. The very odd thing is that I have no trouble retrieving results with curl against all of the result handlers. My solrj code sets some parameters: ModifiableSolrParams param

Change date field until minute to zero for group by

2015-01-29 Thread suhyunjeon
I got date fields like this. { date:"2013-11-01T16:14:55.372Z", latency:1 }, { date:"2013-11-01T16:14:00.372Z", latency:6 }, { date:"013-11-01T16:15:17.496Z", latency:3 } I want to see the count to group by the date field(until minutes) like that. { date:"2013-11-01T16:14:5

Re: SolrCloud result correctness compared with single core

2015-01-29 Thread Yandong Yao
Pretty helpful, thanks Erick! 2015-01-24 9:48 GMT+08:00 Erick Erickson : > you might, but probably not enough to notice. At 50G, the tf/idf > stats will _probably_ be close enough you won't be able to tell. > > That said, recently distributed tf/idf has been implemented but > you need to ask for

Re: Key/Value Query

2015-01-29 Thread Alexandre Rafalovitch
That's a bit hard. I think some of this information is in the debug, if you enable it. But that's expensive. You don't by any chance trying to run incoming documents against a bunch of preset queries, do you? Because if you do, Luwak might be something to check out. https://github.com/flaxsearch/l

Key/Value Query

2015-01-29 Thread Trilok Prithvi
Hi, I need your help on the following query: *Indexed data (field name is 'text'):* ** *I'm also a cat* *I'm pig* *I'm a cat* *I'm a hero* *I'm a superman* *I'm dog* I want to query for *text:(i'm cat) OR text:(i'm dog) OR text:(i'm god)* And I wo

delete from specific shard

2015-01-29 Thread Joshi, Shital
We have duplicate records in two shards and want to delete one set of duplicate records from one shard. curl --proxy "" 'http://host.abc.com:8983/solr/collection1/update?shards=localhost:8983/solr/collection1&commit=true' -H "Content-Type: text/xml" --data-binary '.' This delete comma

Re: AW: Building Solr 5 from svn sources

2015-01-29 Thread Shawn Heisey
On 1/29/2015 12:05 PM, Alexandre Rafalovitch wrote: > I do ant package because I want to have identical file system layout > to the final distribution. Is there a target that does that? In my > attempts to find it, all other targets had jars, etc all over the > place. > > But that's my use-case, n

Re: AW: AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Shawn Heisey
On 1/29/2015 10:15 AM, Clemens Wyss DEV wrote: >> to put your solr home inside the extracted WAR > We are NOT using war's > >> coreRootDirectory > I don't have this property in my sorl.xml > >> If there will only be core.properties files in that cores directory > Again, I see no core.properties f

Re: AW: Building Solr 5 from svn sources

2015-01-29 Thread Alexandre Rafalovitch
I do ant package because I want to have identical file system layout to the final distribution. Is there a target that does that? In my attempts to find it, all other targets had jars, etc all over the place. But that's my use-case, not OP's. So, possibly not relevant. Regards, Alex. Sign

Re: AW: Building Solr 5 from svn sources

2015-01-29 Thread Anshum Gupta
I would recommend 'ant server' instead. 'and example' is not recommended anymore as that target is on track for removal. On Thu, Jan 29, 2015 at 10:06 AM, Erick Erickson wrote: > For working locally (i.e. not distributing a package) I always use "ant > example" (although > this target may be cha

Re: AW: Building Solr 5 from svn sources

2015-01-29 Thread Erick Erickson
For working locally (i.e. not distributing a package) I always use "ant example" (although this target may be changed). "ant dist" gives me jars to link against for SolrJ programs. FWIW, Erick On Thu, Jan 29, 2015 at 9:25 AM, Alexandre Rafalovitch wrote: > "ant package" in the solr directory w

Re: AW: Building Solr 5 from svn sources

2015-01-29 Thread Shawn Heisey
On 1/29/2015 10:03 AM, Clemens Wyss DEV wrote: > Why are solr*jars not being built? All others (including lucene) are built. What steps are you taking, and what is not there that you expect to be there? Thanks, Shawn

AW: AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Clemens Wyss DEV
No -element in my solr.xml My folder structure looks alike: [solr] -solr.xml -[configsets] ... -[cores] --[de] ---[data] ... --[fr] ... --[it] ... So you say, if I copy an empty core.proerties file into the [cores] folder it should work? Even with 4.10.3? Thanks also for all your warnings going

AW: AW: Building Solr 5 from svn sources

2015-01-29 Thread Clemens Wyss DEV
In the README it only says "ant compile", so I was expecting to get the solr*jars from this task. ">ant jar" does the trick, what else ;) Sorry for the noise ... -Ursprüngliche Nachricht- Von: Shawn Heisey [mailto:apa...@elyograg.org] Gesendet: Donnerstag, 29. Januar 2015 18:13 An: solr-

Re: AW: Building Solr 5 from svn sources

2015-01-29 Thread Alexandre Rafalovitch
"ant package" in the solr directory will generate the distribution tars. That's the ultimate build. Regards, Alex. Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 29 January 2015 at 12:12, Shawn Heisey wrote: > On 1/29/2015 10:03 AM, Clemens Wyss DEV wrote: >>

AW: AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Clemens Wyss DEV
> to put your solr home inside the extracted WAR We are NOT using war's >coreRootDirectory I don't have this property in my sorl.xml > If there will only be core.properties files in that cores directory Again, I see no core.properties file. I am creating my cores through CoreContainer.createCore

Re: AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Shawn Heisey
On 1/29/2015 12:13 AM, Clemens Wyss DEV wrote: > BTW: > None of my core folders contains a core.properties file ... ? Could it be due > to the fact that I am (so far) running only EmbeddedSolrServer, hence no real > Solr-Server? I'm not sure how it's working without core.properties files, unless

AW: Building Solr 5 from svn sources

2015-01-29 Thread Clemens Wyss DEV
Why are solr*jars not being built? All others (including lucene) are built. -Ursprüngliche Nachricht- Von: Clemens Wyss DEV [mailto:clemens...@mysign.ch] Gesendet: Donnerstag, 29. Januar 2015 13:47 An: solr-user@lucene.apache.org Betreff: AW: Building Solr 5 from svn sources Thx! -U

Re: AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Shawn Heisey
On 1/29/2015 12:08 AM, Clemens Wyss DEV wrote: > Thx Shawn. I am running latest-greatest Solr (4.10.3) > Solr home is e.g. > /opt/webs//WebContent/WEB-INF/solr > the core(s) reside in > /opt/webs//WebContent/WEB-INF/solr/cores > Should these be found by core discovery? > If not, how can I configur

Re: replicas goes in recovery mode right after update

2015-01-29 Thread Vijay Sekhri
Hi Erick, @ichattopadhyaya beat me to it already yesterday. So we are good -cheers Vijay On Wed, Jan 28, 2015 at 1:30 PM, Erick Erickson wrote: > Vijay: > > Thanks for reporting this back! Could I ask you to post a new patch with > your correction? Please use the same patch name > (SOLR-5850.

Re: Define Id when using db dih

2015-01-29 Thread Ahmet Arslan
Hi, You can create one sing uuid : https://wiki.apache.org/solr/UniqueKey Alternatively, you can combine multiple fields from your table to create a key. TemplateTransformer would be handy. It could be done in select statement too. Ahmet On Thursday, January 29, 2015 9:27 AM, SolrUser1543

Re: Search most common phrases by part of phrase

2015-01-29 Thread Ahmet Arslan
Hi Sylkaalex, Sounds like auto-complete stuff. http://blog.trifork.com/2012/02/15/different-ways-to-make-auto-suggestions-with-solr/ Ahmet On Thursday, January 29, 2015 4:37 PM, sylkaalex wrote: I have not trivial task and want to understand if Solr is right instrument to solve it . Simplifi

Search most common phrases by part of phrase

2015-01-29 Thread sylkaalex
I have not trivial task and want to understand if Solr is right instrument to solve it . Simplified example: i have search field on my site for searching by product description. and next descriptions in mysql db: Id Desc 1 this is my test document number one. also checking search within phrases.

Re: SpellingQueryConverter and query parsing

2015-01-29 Thread Scott Stults
Thank you, James, I'll do that. ResponseBuilder carries around with it the QParser, Query, and query string, so getting suggestions from parsed query terms shouldn't be a big deal. What looks to be hard is rewriting the original query with the suggestions. That's probably why the regex is used ins

AW: Building Solr 5 from svn sources

2015-01-29 Thread Clemens Wyss DEV
Thx! -Ursprüngliche Nachricht- Von: Tomoko Uchida [mailto:tomoko.uchida.1...@gmail.com] Gesendet: Donnerstag, 29. Januar 2015 13:39 An: solr-user@lucene.apache.org Betreff: Re: Building Solr 5 from svn sources Yes, trunk is now for 6.0. branch_5x is for 5.1. 5.0 release branch is lucene_

Re: Building Solr 5 from svn sources

2015-01-29 Thread Tomoko Uchida
Yes, trunk is now for 6.0. branch_5x is for 5.1. 5.0 release branch is lucene_solr_5_0 http://mail-archives.apache.org/mod_mbox/lucene-dev/201501.mbox/%3CCAKiERN4-qbj7BF%3DJgui4xUFKujwuP%2BodkZPesVT51xnXG1om_w%40mail.gmail.com%3E 2015-01-29 19:29 GMT+09:00 Clemens Wyss DEV : > Looks like trunk is

Re: Solr source problem

2015-01-29 Thread Tomoko Uchida
Hi, The error message "impossible to resolve dependencies" suggests dependency problems. seems to be problems at "ant ivy-bootstrap" (step 6) Try step 6 again and check logs... Regards, Tomoko 2015-01-29 18:14 GMT+09:00 L� T�ng Anh : > Hi, > > I want to add solr source to eclipse by link instru

Building Solr 5 from svn sources

2015-01-29 Thread Clemens Wyss DEV
Looks like trunk is Solr 6? Should I build Solr 5 from http://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x

Solr source problem

2015-01-29 Thread L� T�ng Anh
Hi, I want to add solr source to eclipse by link instruction: http://wise.99acres.com/tutorials/tutorial-solr-code-run-from-eclipse-wtp-tomcat/, but cannot success. (fail at step 7) This is error message C:\Users\anhletung\Downloads\solr-4.10.0-src\solr-4.10.0\build.xml:111: The foll owing error

AW: CoreContainer#createAndLoad, existing cores not loaded

2015-01-29 Thread Clemens Wyss DEV
https://issues.apache.org/jira/browse/SOLR-6718 looks like I am not alone with my "weird" questions/ideas ;) And I should really switch over to 5 ;) -Ursprüngliche Nachricht- Von: Clemens Wyss DEV [mailto:clemens...@mysign.ch] Gesendet: Donnerstag, 29. Januar 2015 08:08 An: solr-user@luce