Hey Hardy,
Sorry for late response.
See the log below, we dont get any queries in logs , in Hibernate Search isnt? I have turned on the SQL debug trace , but could not find any query. Anyways log trace below :
Code:
DEBUG [WebContainer : 1] (org.hibernate.search.reader.SharingBufferReaderProvider:openReader:115) - Opening IndexReader for directoryProviders: 1
[WebContainer : 1] DEBUG org.hibernate.search.reader.SharingBufferReaderProvider - Opening IndexReader for directoryProviders: 1
DEBUG [WebContainer : 1] (org.hibernate.search.reader.SharingBufferReaderProvider:closeReader:58) - Closing MultiReader: org.hibernate.search.reader.CacheableMultiReader@37bb37bb
[WebContainer : 1] DEBUG org.hibernate.search.reader.SharingBufferReaderProvider - Closing MultiReader: org.hibernate.search.reader.CacheableMultiReader@37bb37bb
[7/10/09 17:55:44:953 IST] 0000002f SystemOut O Search Result Size >>>>>>>>>>>>22
[7/10/09 17:55:44:953 IST] 0000002f SystemOut O Search Query >>>>>>>>>>>>LastName:JOHNSON~0.3
[WebContainer : 1] (org.hibernate.search.reader.SharingBufferReaderProvider:openReader:115) - Opening IndexReader for directoryProviders: 1
734714 [WebContainer : 1] DEBUG org.hibernate.search.reader.SharingBufferReaderProvider - Opening IndexReader for directoryProviders: 1
DEBUG [WebContainer : 1] (org.hibernate.search.reader.SharingBufferReaderProvider:closeReader:58) - Closing MultiReader: org.hibernate.search.reader.CacheableMultiReader@37bb37bb
[WebContainer : 1] DEBUG org.hibernate.search.reader.SharingBufferReaderProvider - Closing MultiReader: org.hibernate.search.reader.CacheableMultiReader@37bb37bb
[7/10/09 17:55:44:953 IST] 0000002f SystemOut O Search List Size >>>>>>>>>>>>0
I usually get this error when I make a query with Approx search with very low approximation (~0.1 - ~0.3) , above that i.e. (~0.5-~0.8) works good or when I try fetching the results using pagination.