Re: Storing 2 dimension array in Solr

2013-10-13 Thread David Philip
Hi Jack, for the point: each element of the array as a solr document, with a group field and a disease field Did you mean it this way: doc group1_grp: G1 disease1_d: 2, disease2_d: 3, /doc doc group1_grp: G2 disease1_d: 2, disease2_d: 3, disease3_d: 1, disease4_d: 1, /doc similar to

Re: Highlighting question

2013-10-13 Thread ewinclub7
หากคุณไม่ต้องการที่จะเล่นต่อแล้วก็สามารถที่จะ ผลของเกมส์ฟุตบอลทั้งหมดจะถูกตัดสินหลังจากผู้เล่นเต็มเวลาครบเก้าสิบนาที ซึ้งส่วนใหญ่จะใช้เวลาไม่เกินสองชั่วโมงครึ่ง ทั้งนี้ทั้งนั้นก็ขึ้นอยู่กับข้อตกลงของผู้ให้คำชี้แนะด้วย goldclub slot http://www.goldclub.net/ Software ที่ใช้

Adding field to solr dynamically

2013-10-13 Thread Mysurf Mail
My database model is designed using dynamic attributes (Entity Attribute Value model). For the db I have a service that adds a new attribute. But everytime a new attributes is added I need to add it to the schema.xml Is there a possibile way to add a field to solr schama.xml dynamically?

Re: Storing 2 dimension array in Solr

2013-10-13 Thread Erick Erickson
This sounds like a denormalization issue. Don't be afraid G. Actually, I've seen from 50M 50 300M small docs on a Solr node, depending on query type, hardware, etc. So that gives you a place to start being cautious about the number of docs in your system. If your full expansion of your table

Re: Storing 2 dimension array in Solr

2013-10-13 Thread Lee Carroll
I think he means a doc for each element. so you have a disease occurrence index doc group1/group dis1/dis occurrenceexist/occurrence unique Field1-1/unique field /doc assuming (and its a pretty fair assumption?) most groups have only a subset of diseases this will be a sparse matrix so just

Re: Storing 2 dimension array in Solr

2013-10-13 Thread Jack Krupansky
Yeah, something like that. The key or ID field would probably just be the composition of the group and disease fields. The other thing is if occurrence is simply a boolean, omit it and omit the document if that disease is not present for that group. If the majority of the diseases are not

Re: Adding field to solr dynamically

2013-10-13 Thread Jack Krupansky
Either simply use a dynamic field, or use the Schema API to add a static field: https://cwiki.apache.org/confluence/display/solr/Schema+API Dynamic fields (your nominal field name plus a suffix that specifies the type and muliplicity - as detailed in the Solr example schema) may be good

SolrDocumentList - bitwise operation

2013-10-13 Thread Michael Tyler
Hello, I have 2 different solr indexes returning 2 different sets of SolrDocumentList. Doc Id is the foreign key relation. After obtaining them, I want to perform AND operation between them and then return results to user. Can you tell me how do I get this? I am using solr 4.3

Clustering unstructured text data

2013-10-13 Thread lovely kasi
Hi, I have gone through the solr tutorial but i could find only indexing of the json data. I want to index and cluster the unstructured text data. For example I have a folder which has 10 text files.Where each text file contains 10 lines of text which is a communication between customer and

Re: SolrDocumentList - bitwise operation

2013-10-13 Thread Liu Bo
join query might be helpful: http://wiki.apache.org/solr/Join join can across indexes but probably won't work in solr clound. be aware that only to documents are retrievable, if you want content from both documents, join query won't work. And in lucene join query doesn't quite work on multiple

Re: SolrDocumentList - bitwise operation

2013-10-13 Thread Shawn Heisey
On 10/13/2013 8:34 AM, Michael Tyler wrote: Hello, I have 2 different solr indexes returning 2 different sets of SolrDocumentList. Doc Id is the foreign key relation. After obtaining them, I want to perform AND operation between them and then return results to user. Can you tell me

DIH - stream file with solrEntityProcessor

2013-10-13 Thread Josh Lincoln
I have a large solr response in xml format and would like to import it into a new solr collection. I'm able to use DIH with solrEntityProcessor, but only if I first truncate the file to a small subset of the records. I was hoping to set stream=true to handle the full file, but I still get an out

Re: DIH - stream file with solrEntityProcessor

2013-10-13 Thread Shawn Heisey
On 10/13/2013 10:16 AM, Josh Lincoln wrote: I have a large solr response in xml format and would like to import it into a new solr collection. I'm able to use DIH with solrEntityProcessor, but only if I first truncate the file to a small subset of the records. I was hoping to set stream=true

Re: Doing time sensitive search in solr

2013-10-13 Thread Darniz
Thanks eric i think thats the way to go This leads to one more question. since now that i have two doc with the same content path i want to get distinct content path with max date. doc field name=id1/field field name=contentPath/editorial-updates/field field