weirdness when searching with mix alpha numeric query word

2014-06-13 Thread Tang, Tj
I am seeing issues where when I search for 'ACAT1' I do not get any results, but with 'ACAT' I get the result, where the exact match is 'ACAT1'. I tried using debug query to see what was going on, and whenever I have a mixed alphanumeric token, my parsedQuery comes back as empty. Total garbage q

Debug different Results from different Request Handlers

2014-06-13 Thread O. Olson
Hi, In my solrcofig.xml I have one Request Handler displaying the results using Apache Velocity:    And another with regular XML: I am seeing different results when I use these two handlers.  Search Query: hp|lync  (Or on the URL  q=hp%7Elync) I see 0 results when I use the first handler

Re: faceting performance on fields with high-cardinality

2014-06-13 Thread Tang, Rebecca
Hi Toke, Thank you for the reply! Both single-value-with-semi-colon-tokenizer and multi-value-untokenized have static warming queries in place. In fact, that was the first thing I did to improve performance. Below is my warming queries in solrconfig.xml.

Re: Solr Master-Slave fail-over across multiple data-centers

2014-06-13 Thread Arcadius Ahouansou
Hello Daniel. Consistency is the main reason for initially pointing all slaves to SolrMaster-A. This gives us the confidence that the very same index version is being served everywhere... Thank you very much for the input. Arcadius. On 13 June 2014 10:56, Daniel Collins wrote: > Why do you n

Re: Delta-Import not loading child entities?

2014-06-13 Thread Drew Mazurek
Sure... here's the document stanza, simplified: In the log, I'm seeing the "profile" deltaQuery run (which in testing is correctly returning 0 records), and then the "object" deltaQuery runs, which returns 1 record. Then it logs that the delta import is

RE: faceting performance on fields with high-cardinality

2014-06-13 Thread Toke Eskildsen
Tang, Rebecca [rebecca.t...@ucsf.edu] wrote: > I have an solr index with 14+ million records. We facet on quite a few > fields with very > high-cardinality such as author, person, organization, brand and document > type. Some > of the records contain thousands of persons and organizations. So

Re: Catching errors from ConcurrentUpdateSolrServer

2014-06-13 Thread Walter Underwood
Sorry, meant to forward that to another developer at work. --wunder On Jun 13, 2014, at 1:03 PM, Walter Underwood wrote: > You can't, because it never reports them. We might be building with > HttpSolrServer instead. > > wunder > > On Jun 13, 2014, at 11:57 AM, Shawn Heisey wrote: > >> On 6

Catching errors from ConcurrentUpdateSolrServer

2014-06-13 Thread Walter Underwood
You can't, because it never reports them. We might be building with HttpSolrServer instead. wunder On Jun 13, 2014, at 11:57 AM, Shawn Heisey wrote: > On 6/13/2014 12:06 PM, Tang, Rebecca wrote: >> I've been working with this issue for a while and I really don’t know what >> the root cause is

Re: How to Query to Solr for comparing two dates in solr

2014-06-13 Thread Chris Hostetter
: I think you'd have to get creative with function queries. The trick is You don't have to get *very* creative... : > I want to retrieve all docs or records from solr where updateDate >= : > appliedDate OR appliedDate == null Pretty sure all you need is... fq={!frange l=0}ms(updateDat

Re: Delta-Import not loading child entities?

2014-06-13 Thread Gora Mohanty
On 14 June 2014 00:36, Drew Mazurek wrote: > > A little more info... removing the cache fixes everything. Are delta > queries incompatible with the cache? There isn't a lot of current > documentation on this, far as I can tell. Not quite au courant myself with 4.8.1 (need to install new Jave so

Re: solr server early EOF errors

2014-06-13 Thread Tang, Rebecca
Hi Shawn, Thanks for the reply! Yes, from the application I cannot catch any errors. I check the log for errors and check the index to see if the correct number of records are built in. I am most likely going to rewrite the code to HttpSolrServer and multi-thread myself. It seems like Concurre

Re: Delta-Import not loading child entities?

2014-06-13 Thread Drew Mazurek
A little more info... removing the cache fixes everything. Are delta queries incompatible with the cache? There isn't a lot of current documentation on this, far as I can tell. Thanks, Drew On Fri, Jun 13, 2014 at 2:46 PM, Drew Mazurek wrote: > I'm running into an issue with the SqlEntityPro

Re: How to Query to Solr for comparing two dates in solr

2014-06-13 Thread Erick Erickson
I think you'd have to get creative with function queries. The trick is to define a function that returns 0 in the case where your if test is false, and 1 otherwise. Since the return is multiplied into the score, the eventual score is 0 and the doc is not returned. Best Erick On Fri, Jun 13, 2014

Re: Inconsistent Behavior of Solr Cloud

2014-06-13 Thread Erick Erickson
It seems like for some reason you have shards that are not reachable. What does your cloud stat in the admin UI tell you when you don't get all the docs back? Best, Erick On Fri, Jun 13, 2014 at 1:37 AM, Vineet Mishra wrote: > Hi All, > > I am having a Cloud setup with 3 Shards and 2 Replica run

Re: solr server early EOF errors

2014-06-13 Thread Shawn Heisey
On 6/13/2014 12:06 PM, Tang, Rebecca wrote: > I've been working with this issue for a while and I really don’t know what > the root cause is. Any insight would be great! > > I have 14 million records in a mysql DB. I grab 100,000 records from the DB > at a time and then use ConcurrentUpdateSolr

Re: Very long response time using solrJ

2014-06-13 Thread Shawn Heisey
On 6/13/2014 9:36 AM, Sven Kiesewetter wrote: > I've got a problem with SolrJ taking 20-60 seconds to return some queries. > It doesn't happen often, but often enough to pose a problem. So far, I > haven't been able to pin down the cause. > > The server is running Solr 1.4.1 and I'm using SolrJ 1.4

Delta-Import not loading child entities?

2014-06-13 Thread Drew Mazurek
I'm running into an issue with the SqlEntityProcessor where full imports are running fine, but delta imports don't load the child entities. More specifically, if the parent deltaQuery returns some records, then its deltaImportQuery runs, but the child entities' queries don't run like they would fo

solr server early EOF errors

2014-06-13 Thread Tang, Rebecca
Hi there, I've been working with this issue for a while and I really don’t know what the root cause is. Any insight would be great! I have 14 million records in a mysql DB. I grab 100,000 records from the DB at a time and then use ConcurrentUpdateSolrServer (with queue size = 50 and thread c

Very long response time using solrJ

2014-06-13 Thread Sven Kiesewetter
Hi all! I've got a problem with SolrJ taking 20-60 seconds to return some queries. It doesn't happen often, but often enough to pose a problem. So far, I haven't been able to pin down the cause. The server is running Solr 1.4.1 and I'm using SolrJ 1.4.0. Another Solr server is used for replicatio

Still a lot of snapshots in spite of maxCommitsToKeep=1

2014-06-13 Thread Timo Fuchs
Hi all, I have a Solr server without replication. I want to make sure I keep as little snapshots as possible, because my collection is quite large. I understand that in order to keep only 1 snapshots and delete all others I have to set the parameter maxCommitsToKeep to "1". Mit detention policy

How to get term frequency count grouped by date?

2014-06-13 Thread Dipanjan Kailthya
Hi everyone, I have a simple schema that looks like this: key The text field is defined as I have indexed some documents based on this sche

Re: Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-13 Thread Joel Bernstein
Let's open a new ticket. Joel Bernstein Search Engineer at Heliosearch On Fri, Jun 13, 2014 at 8:08 AM, Umesh Prasad wrote: > The patch in SOLR-5408 fixes the issue with sorting only for two sort > fields. Sorting still breaks when 3 or more sort fields are used. > > I have attached a test cas

Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-13 Thread Umesh Prasad
The patch in SOLR-5408 fixes the issue with sorting only for two sort fields. Sorting still breaks when 3 or more sort fields are used. I have attached a test case, which demonstrates the broken behavior when 3 sort fields are used. The failing test case patch is against Lucene/Solr 4.7 revision

Re: writing logs of a speicific solr posting to a file

2014-06-13 Thread pshahukhal
Hi I found the commit for this requirement under https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x Great work.:) I have SVN checked out the repo under my local folder and I am trying to compile and generate a post.jar for the same but somehow I have been failing due to the depende

group.ngroups is set to an incorrect value - specific field types

2014-06-13 Thread 海老澤 志信
Hi, I'm using Solr version 4.1. I found a bug in group.ngroups. So could anyone kindly take a look at my bug report? If I specify the type Double as group.field, the value of group.ngroups is set to be an incorrect value. [condition] - Double is defined in group.field - Documents without the f

SUM and groupBy in solr

2014-06-13 Thread Vivekanand Ittigi
Hi, How to execute this query: select SUM(Primary_cause_vaR), RiskType,market from bil_tos Where skuType='Product' group by RiskType,market; I've used http://wiki.apache.org/solr/StatsComponent for this: * I see only sum with respective groupBy fields but i want to see RiskType, market fields a

Re: Solr Master-Slave fail-over across multiple data-centers

2014-06-13 Thread Daniel Collins
Why do you need to swap the replicas from one master to another? If you have a cross DC database that ensures both Masters are in sync, why not just tie SolrSlave-B1 and SolrSlave-B2 to SolrMaster-B at all times? Then you don't have any fail-over to do at all? We have multiple DCs and a similar

How to Query to Solr for comparing two dates in solr

2014-06-13 Thread Pbbhoge
Hi, I have two date fields in Solr Schema, I want to compare two different date fields in solr itself . how can i write the Query in Solr for comparing the two dates in solr itself . I want to retrieve all docs or records from solr where updateDate >= appliedDate OR appliedDate == null you can

Re: Inconsistent Behavior of Solr Cloud

2014-06-13 Thread michael.boom
Are all the replicas up ? Did you check if there is enough space on the disk? How are you running the queries? - Thanks, Michael -- View this message in context: http://lucene.472066.n3.nabble.com/Inconsistent-Behavior-of-Solr-Cloud-tp4141593p4141605.html Sent from the Solr - User mailing l

Inconsistent Behavior of Solr Cloud

2014-06-13 Thread Vineet Mishra
Hi All, I am having a Cloud setup with 3 Shards and 2 Replica running on 3 Tomcats with 3 External Zookeeper, all running on single machine. I have Indexed around 70 Mln Documents that seems to be querying back fine. When I index another 30 Mln to same, the result are vague as with the query *:* i

Inconsistent behavior with Solr replication

2014-06-13 Thread Prasi S
Hi, I am using solr 4.4 , replication set with one Master and 1 slave. Master is set to replicate after startup and commit. It has an internal autocommit of maxTime:15000. Slave polls the master every 45sec to check for updates. I indexed Master with DIH, First, indexed half million docs in Mast

Re: Solr Replication Issue : Incorrect Base_URL

2014-06-13 Thread Alan Woodward
Hi Pramod, You need to set hostContext in your solr.xml. See https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml Alan Woodward www.flax.co.uk On 13 Jun 2014, at 00:44, pramodEbay wrote: > Hi, > I am deploying Solr in a larger web application. The standalone solr > instance wo

Re: Drupal 7 solr index remaining question

2014-06-13 Thread Gora Mohanty
On 13 June 2014 13:05, kastania44 wrote: > > Hello, > > In our Drupal 7 site we are using Apache Solr to index and search. This is best addressed to a Drupal-related list. Depending on which Drupal plugin you are using there might be help forums available. Regards, Gora

Drupal 7 solr index remaining question

2014-06-13 Thread kastania44
Hello, In our Drupal 7 site we are using Apache Solr to index and search. We bulk upload data which are about 30.000 records. Normally the Solr indexing takes place on cron job runs, which is set to run every hour and indexes 50 records per run. However when we bulk upload data, we want them to b