SolrCloud Archecture recommendations + related questions

2012-08-05 Thread Greg Pendlebury
Hi All, TL;DR version: We think we want to explore Lucene/Solr 4.0 and SolrCloud, but I’m not sure if there is any good doco/articles on how to make architecture choices for how to chop up big indexes… and what other general considerations are part of the equation? I’m throwing this post ou

Re: Regression of JIRA 1826?

2012-08-05 Thread Jamie Johnson
I have not seen any recent activity on this, has anyone else ran into this or been able to duplicate this problem? On Jul 9, 2012 3:09 PM, "Jamie Johnson" wrote: > Thanks Lance, attached is a trimmed down version of my schema and a > print out of the object that exhibits the issue. Again if I pu

Re: highlighting tint fields

2012-08-05 Thread Jan Høydahl
Hi, That is by design, you can only highlight text fields. The solution is to copy your "age" field to a "age_t" field and highlight on that instead. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com 5. aug. 2012 kl. 09:25 skrev Yoni

Re: Thread Blocking - Apache Solr 3.6.1

2012-08-05 Thread Mikhail Khludnev
it's completely off-topic. Solr does nothing with logging bolts. Solr uses slf4j bridge to other logging backends, java.util.logging by default. I bet for slow disk io. Try to bypass it: add > NUL to your java command. Or configure java util logging with WARN root level to suppress INFO output. a

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Andre Lopes
Hi, I've found what's wrong. By default the query was returning 10 results. With "rows" I can now return more than 10: http://localhost:8983/solr/select?q=*:*&rows=400 Thanks for the help. From here I will try do dig deeper. Best Regards, On Sun, Aug 5, 2012 at 7:20 PM, Andre Lopes wrote: >

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Andre Lopes
Hi, Thanks for the replies. The info in my admin/stats is the following: searcherName : Searcher@f4e40da main caching : true numDocs : 654 maxDoc : 654 reader : SolrIndexReader{this=6a6078e7,r=ReadOnlyDirectoryReader@6a6078e7,refCnt=1,segments=1} readerDir : org.apache.lucene.store.MMapDirector

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Erick Erickson
A quick check here is to go to your admin/stats page and look at numDocs and maxDocs. numDocs is the number of documents that it's possible to find, i.e. non updated/deleted docs. maxDocs is the number of documents that have been added, and that count includes ones with duplicate unique IDs. So I'

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Jack Krupansky
Make sure the id is not duplicated. You might have inadvertently populated the id field in your Solr schema with some non-key value that occurs with high frequency (and may have roughly 9 unique values.) Examine the 9 results and their id fields. Then look at some of your input data to verify

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Andre Lopes
Thanks for the replies, I've now successfully indexed the database using the DataImportHandler but there is something weird. I've indexed 654 entries but I can't output all the 654 results. After the I run the "http://localhost:8983/solr/dataimport?command=full-import"; I got 654 adds: Aug 5, 20

Re: Stopping replication?

2012-08-05 Thread Erick Erickson
First thing: Are you absolutely certain that the slaves are pointing at the master? My first guess would be that somehow your slaves aren't talking to the master. Take a look at the log files on one of the slaves, you should see some information about the replication attempt, that would be good inf

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Gora Mohanty
On 5 August 2012 17:17, Andre Lopes wrote: > Hi, > > I'm new to Solr. I've take some reads about how it works, but I can't > find a clue for my specific situation. > > Here is my case. I've 2 database tables that I need to add to the > index, but they are related. One entry in the table "clients"

Re: How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Jack Krupansky
In general, you need to "flatten" relational tables. In this specific case, I see two choices: 1. Add a "customer_id" field to your contacts for the customer's id. The id field for a contact would need to be a unique id such as the concatenation of the customer id and the contact id. You can t

How to configure schema.xml to take in account two database tables?

2012-08-05 Thread Andre Lopes
Hi, I'm new to Solr. I've take some reads about how it works, but I can't find a clue for my specific situation. Here is my case. I've 2 database tables that I need to add to the index, but they are related. One entry in the table "clients" could have more than one entry in the table "contacts".

Stopping replication?

2012-08-05 Thread csscouter
Hello, and Help! We've just moved solr (3.3.0) to a new set of servers, and the slaves are not working. The new servers have the DNS cnames of the previous servers, and no configuration files have changed. The master shows index generation 1940, but slaves show generation 1. I have replicateAfter c

highlighting tint fields

2012-08-05 Thread Yoni Amir
Hello, (sorry for the empty message earlier, that was by mistake) I am experiencing a strange problem with highlighting. I have a simple configuration roughly as follows: edismax all_text ... on * false I run the search on a single catch-all field calle