Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> if in this case, then i think reindex the whole document > probably will be > easily right ? as compare to write to text file (look like > more work and > probably performance same ? ) I don't think dumping id,vote pairs to a text file is more work than indexing whole document that has more tha

Re: about partial index update

2011-12-23 Thread Kiwi de coder
hi, if in this case, then i think reindex the whole document probably will be easily right ? as compare to write to text file (look like more work and probably performance same ? ) actually i was looking for a features like indextank which can update dynamic value without scarify performance. ht

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> In my case, my vote will keep update in database, but the > ExternalFileField > since like the value will get from a file. > > so if I using  ExternalFileField, is that anyway to > read the value from > index actually ? You could read values from DB and dump them into a text file in a periodic

Re: about partial index update

2011-12-23 Thread Kiwi de coder
hi, thx for reply ! In my case, my vote will keep update in database, but the ExternalFileField since like the value will get from a file. so if I using ExternalFileField, is that anyway to read the value from index actually ? regards, kiwi On Fri, Dec 23, 2011 at 10:41 PM, Ahmet Arslan wrote

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> if i using ExternalFileField, i cannot do sorting when > query. Sort by function query is now doable. http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function

Re: about partial index update

2011-12-23 Thread Kiwi de coder
hi, if i using ExternalFileField, i cannot do sorting when query. regards, kiwi On Fri, Dec 23, 2011 at 6:33 PM, Ahmet Arslan wrote: > > I have a object like this > > > > public class Link { > > private long id; > > private string url; > > // other 20 property > > private int vote; //s

Re: about partial index update

2011-12-23 Thread Ahmet Arslan
> I have a object like this > > public class Link { >   private long id; >   private string url; >   // other 20 property >   private int vote; //summary of vote, for sorting > used > } > > so when I index document, my Lucene document also contain > all field from my > Link object. e.g > > doc_i