[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-157?pag...
]
Emmanuel Bernard commented on HSEARCH-157:
------------------------------------------
I think somehow your index has an old value. Did you clean (erase) the index before your
unit test? This should be discussed in the forum.
"In 3.0.1 the only thing cached by getHits() is hits.length() in resultSize, not the
actual result size as determined by getResultList().size()."
Yes that's on purpose. the former is much cheaper than the later.
Make explicit in FAQ and doc that query.list() followed by
query.getResultSize() triggers only one query
--------------------------------------------------------------------------------------------------------
Key: HSEARCH-157
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-157
Project: Hibernate Search
Issue Type: Improvement
Components: documentation
Reporter: Emmanuel Bernard
Priority: Minor
Fix For: 3.0.2.GA, 3.1.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira