How to write nested schema.xml in solr

2014-03-14 Thread Jagat Singh
How to write nested schema.xml in solr The document in schema.xml says http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup Which can be used in https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParser

Re: analyzer with multiple stem-filters for more languages

2014-03-14 Thread Trey Grainger
I wouldn't recommend putting multiple stemmers in the same Analyzer. Like Jack said, the second stemmer could take the results of the first stemmer and "stem the stem", wreaking all kinds of havoc on the resulting terms. Since the Stemmers replace the original word, running two of them in sequence

Re: analyzer with multiple stem-filters for more languages

2014-03-14 Thread Jack Krupansky
You would have to carefully analyze the source code and tables of these two stemmers to determine if one might incorrectly stem words in the other language. Technically, that could be fine for indexing, but it might give users some unexpected results for queries. There might also be cases where

CollapsingQParserPlugin returning different result set

2014-03-14 Thread shamik
Hi, I recently upgraded to 4.7, with the aim of replacing group queries with CollapsingQParserPlugin. As I'm comparing results between the two APIs, CollapsingQParserPlugin seems to be way off, in terms of relevancy and result count. Here's an example : *Group query* http://test-dev.mydomain.co

Re: solr4 log message

2014-03-14 Thread Shawn Heisey
On 3/14/2014 3:54 PM, Joshi, Shital wrote: I see lots of messages like this in solr4 logs. What is it for? INFO - 2014-03-14 16:42:47.098; org.apache.solr.core.SolrCore; [collection1] webapp=/solr path=/select params={NOW=1394829767088&shard.url=us123.abc.com:8983/solr/collection1/|us234.abc.

Best practice to support multi-tenant with Solr

2014-03-14 Thread shushuai zhu
Hi, I am looking into Solr 4.7 for best practice of multi-tenancy support. Our use cases require support of thousands of tenants (say 10,000) and the incoming data rate could be more than 10k documents per second. I did some research and found people talked about scaling tenants at all four lev

solr4 log message

2014-03-14 Thread Joshi, Shital
I see lots of messages like this in solr4 logs. What is it for? INFO - 2014-03-14 16:42:47.098; org.apache.solr.core.SolrCore; [collection1] webapp=/solr path=/select params={NOW=1394829767088&shard.url=us123.abc.com:8983/solr/collection1/|us234.abc.com:8983/solr/collection1/&fl=q_idn_s,score&

Re: Solr Autosuggest - Strange issue with leading numbers in query

2014-03-14 Thread bbi123
I tied almost all possible combination but in vain. Does anyone know if there is any logic build in to suggester component to ignore the leading numbers? autocomplete?qt=/lucid&req_type=auto_complete&spellcheck.collate=false&q=34g 1 2 3 galaxy /autocomplete?qt=/lucid&req_type=auto_com

Re: Help me understand these newrelic graphs

2014-03-14 Thread Otis Gospodnetic
Are you trying to bring that 24.9 ms response time down? Looks like there is room for more aggressive sharing there, yes. Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Fri, Mar 14, 2014 at 1:07 PM, Software Dev wrote: >

Re: [ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Yonik Seeley
On Fri, Mar 14, 2014 at 1:11 PM, Yonik Seeley wrote: > I've been meaning to create a heliosearch 4x branch to get us a big > step closer to cutting a stable release. I should probably do that > sooner rather than later... https://github.com/Heliosearch/heliosearch/issues/9 -Yonik http://heliose

Re: [ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Yonik Seeley
On Fri, Mar 14, 2014 at 12:52 PM, Alexei Martchenko wrote: > Chrome on Windows reports the latest Heliosearch as probable malware Heh. Anyone know how to fix that? I tried downloading with crome on my mac just now and it worked fine. -Yonik http://heliosearch.org - solve Solr GC pauses with of

Re: [ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Yonik Seeley
On Fri, Mar 14, 2014 at 11:58 AM, Yago Riveiro wrote: > It's possible switch between solr 4.6.1 and Heliosearch in a transparent > way? We're purposely keeping the HTTP APIs compatible to allow people to easily swap it in and try it out. As long as you don't have custom Java plugins, it should be

Re: [ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Yonik Seeley
I've been meaning to create a heliosearch 4x branch to get us a big step closer to cutting a stable release. I should probably do that sooner rather than later... -Yonik http://heliosearch.org - solve Solr GC pauses with off-heap filters and fieldcache On Fri, Mar 14, 2014 at 11:56 AM, Mike Mur

Re: Help me understand these newrelic graphs

2014-03-14 Thread Software Dev
Here is a screenshot of the host information: http://postimg.org/image/vub5ihxix/ As you can see we have 24 core CPU's and the load is only at 5-7.5. On Fri, Mar 14, 2014 at 10:02 AM, Software Dev wrote: > If that is the case, what would help? > > > On Thu, Mar 13, 2014 at 8:46 PM, Otis Gospodn

Re: Help me understand these newrelic graphs

2014-03-14 Thread Software Dev
If that is the case, what would help? On Thu, Mar 13, 2014 at 8:46 PM, Otis Gospodnetic < otis.gospodne...@gmail.com> wrote: > It really depends, hard to give a definitive instruction without more > pieces of info. > e.g. if your CPUs are all maxed out and you already have a high number of > con

Re: [ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Alexei Martchenko
Chrome on Windows reports the latest Heliosearch as probable malware and asks for a "keep or discard". Norton says everything's ok with that file. Are you guys aware of this? alexei martchenko Facebook | Linkedin|

Re: [ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Yago Riveiro
It's possible switch between solr 4.6.1 and Heliosearch in a transparent way? On Fri, Mar 14, 2014 at 3:56 PM, Mike Murphy wrote: > This is fantastic! > I tried swapping in heliosearch for a customer that was having big > garbage collection issues, and all of the big gc pauses simply > disappea

[ANNOUNCE] Heliosearch 0.04

2014-03-14 Thread Mike Murphy
This is fantastic! I tried swapping in heliosearch for a customer that was having big garbage collection issues, and all of the big gc pauses simply disappeared! Now the problem - heliosearch only has a pre-release out based on solr trunk. Are there near term plans for a more stable release that

Re: PROBLEM SOLRJ

2014-03-14 Thread Furkan KAMACI
Hi; There is another issue. It seems like you are using SolrCloud. If so check here: https://wiki.apache.org/solr/Solrj#Using_with_SolrCloud Thanks; Furkan KAMACI 2014-03-14 15:28 GMT+02:00 Greg Walters : > Hello, > > You shouldn't include the # as part of the url nor should the collection > b

RE: Empty string in tfloat type field

2014-03-14 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Greg thanks, I missed the email.. -Original Message- From: Greg Walters [mailto:greg.walt...@answers.com] Sent: Friday, March 14, 2014 9:32 AM To: solr-user@lucene.apache.org Subject: Re: Empty string in tfloat type field Ravi, You must not have gotten Ahmet Arslan's reply the last tim

Re: Check my thinking on this, wildcard matching in phrases.

2014-03-14 Thread Erick Erickson
Ahmet: I saw your patch updating to 4.7. I have a long plane ride this afternoon that I hope to use to look at it more closely. Thanks for updating it! And thanks for your comment on putting the $ in the full token, I hadn't thought of that, but I think you're absolutely right. Thanks On Fr

Re: Empty string in tfloat type field

2014-03-14 Thread Greg Walters
Ravi, You must not have gotten Ahmet Arslan's reply the last time you posted this question three days ago. Allow me to quote: ** Hi Ravi, How about RemoveBlankFieldUpdateProcessorFactory ? https://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/update/processor/ Ahmet ** Thanks, Greg

Re: PROBLEM SOLRJ

2014-03-14 Thread Greg Walters
Hello, You shouldn't include the # as part of the url nor should the collection be specified directly like that either. Check out https://wiki.apache.org/solr/Solrj#HttpSolrServer for an example. Thanks, Greg On Mar 14, 2014, at 3:00 AM, Ángel Miralles wrote: > Hi everybody, > > we are sta

Empty string in tfloat type field

2014-03-14 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
HI, I have a Price field with tfloat type. I am using XML to Post the Data. For few documents the Price in the XML is empty. I am getting any error where empty is treated as string and throws exception. Any suggestions to fix this..? Thanks Ravi

analyzer with multiple stem-filters for more languages

2014-03-14 Thread Croci Francesco Luigi (ID SWS)
It is possible to define an analyzer with more than one Stem-filter for more languages? Something like this: ... (default for english) Greetings Francesco

Re: Querying XML

2014-03-14 Thread Michael Sokolov
Yes, Lux automatically indexes text in XML elements associated with their element names so you can run efficient XPath/XQuery queries; in your case I would write: q=/MainData/Info/Info[@name="Bob"][city="Cincinnati"] or q=//Info[@name="Bob"][city="Cincinnati"] It also let's you mix "regular"

Re: Check my thinking on this, wildcard matching in phrases.

2014-03-14 Thread Ahmet Arslan
Hi Erick, I think it'a very good idea.  What happens when you search "my$ dog$"? I think it does not retrieve your example document.  Since * means zero or more chars, I wonder that would be the expected behaviour.  If you inject last token with and without $, would that harm anything?  d$ do$

PROBLEM SOLRJ

2014-03-14 Thread Ángel Miralles
Hi everybody, we are starting a new project and have just discover apache solr. We are interesting in indexing db blob and varchar2 columns. Ours is a Java project and we would like to work with DataImportHandler and Solrj wrapper API. Our develpment enviroment: * Apache solr server 4.7 *