lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Dynamic Field
Date Sun, 08 Sep 2013 21:57:26 GMT
2. Flatten your data.
3. Use dynamic and multivalued fields only in moderation.
1. First, tell us how your application intends to use and query your data. 
That will be a guide to how your data should be stored.

-- Jack Krupansky

-----Original Message----- 
From: anurag.jain
Sent: Sunday, September 08, 2013 3:49 PM
To: solr-user@lucene.apache.org
Subject: Dynamic Field

Hi all,

I am using solr dynamic field. i am storing data in the following format:-

------------------------------------
id        batch_*        job_*
------------------------------------

So for a doc, data is storing like:-

------------------------------------------------------------------------------------------
id      batch_21   job_21     job_22   batch_22  ...............
------------------------------------------------------------------------------------------
1       120           0            1           121          ...............
------------------------------------------------------------------------------------------

Using luke request handler i found that currently there are more than 5k
fields and 3000000 docs. And fields are always increasing because of dynamic
field.
So i am worried about solr performance or any unknown issues which can come
to solr. If somebody had experienced please tell me. Please tell the correct
solution to handle these issues.

are there any alternatives of dynamic fields. Can we store information like
below ?

-------------------------------------------------
id    jobs              batch
-------------------------------------------------
21   {21:0,22:1}    {21:120,22:121}
-------------------------------------------------



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Dynamic-Field-tp4088775.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message