Re: Highlighting on Parent document

2014-06-13 Thread StrW_dev
Apparently it is not supported, so I will try to push it into Jira. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-on-Parent-document-tp4139784p4141579.html Sent from the Solr - User mailing list archive at Nabble.com.

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

Re: Drupal 7 solr index remaining question

2014-06-13 Thread Gora Mohanty
On 13 June 2014 13:05, kastania44 kastani...@hotmail.com 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

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

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

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 *:*

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

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: 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

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

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

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

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: 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 umesh.i...@gmail.com 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

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: uniqueKeykey/uniqueKey fields field name=_version_ type=int indexed=true stored=true multiValued=false/ field name=text type=text / field name=date type=int / field name=key type=string_key / /fields

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

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

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

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

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.0.

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

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 clearmido...@gmail.com wrote: Hi All, I am having a Cloud setup with 3

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: 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 d...@veoci.com wrote: I'm running into an issue with

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

Re: Delta-Import not loading child entities?

2014-06-13 Thread Gora Mohanty
On 14 June 2014 00:36, Drew Mazurek d...@veoci.com 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

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

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 s...@elyograg.org 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

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 wun...@wunderwood.org 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

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 the

Re: Delta-Import not loading child entities?

2014-06-13 Thread Drew Mazurek
Sure... here's the document stanza, simplified: document name=object entity name=object pk=object_id query=SELECT o.object_id,o.object_name, CAST(p.profile_id AS CHAR) AS owner_profile_id FROM `objects` o JOIN containers c on

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 danwcoll...@gmail.com

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. listener event=newSearcher

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:    requestHandler name=/products class=solr.SearchHandler And another with regular XML: requestHandler name=/search class=org.apache.solr.handler.component.SearchHandler I am seeing different

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