Hi Guys,
Im having a strange problem with my indexing. Some field values arent getting indexed and I have no idea why!!
Im following the standard approach that you have outlined in your manual
http://docs.jboss.org/hibernate/stable/search/reference/en/html_single/#search-batchindex-indexingIm doing a batch index on my entity type Equity. Every entity contains an ISIN value. There roughly around 42,000 equity records. I can see from the log file at trace mode that it contains the ISIN but when I query and open luke i see that the isin isnt in the index even though the rest of the record is there!! (So it aint like the record is completely missing).
What is funny is this, in luke i can see that all records with a document id up till 4671 have the isin value in the index, all those after dont have the isin in the index. I have re-indexed from scratch several times and it is from the same document id on(4671) that the records have no ISIN.
I checked the logs for exceptions and i see none.
For example this is the next record after document id 4671, i see from the trace log that the isin is present but when i query and open in luke the value is missing for ISIN in the index.
Code:
10:08:07,901 [pool-17-thread-1] TRACE impl.lucene.works.AddWorkDelegate - add to Lucene index: class com.mypackage.model.Equity#701251:
Document<stored/uncompressed,indexed<_hibernate_class:com.mypackage.model.Equity> stored/uncompressed,indexed<id:701251> stored/uncompre
ssed,indexed,tokenized<name: NAME OF COMPANY-> stored/uncompressed,indexed<active:true> stored/uncompressed,inde
xed<isin:US541XXXXX> stored/uncompressed,indexed,tokenized<shortName:ShortNameOfCompany> indexed<riskClass:DYNAMIC>>
Im baffled as to why it isnt there and why I have from 0-4671 records with ISINS and from 4671 onwards there is no isins indexed even though I can see values for it in the log file!!
How do i turn on the logging for lucene via HS?? Ive read somewhere that I have to set an input stream to get it to work!! How is this done via HS??
Thanks Guys,
LL