2 quick questions:
1) I am using Hibernate Search with a JPA implementation. When specifying the "hibernate.search.default.indexBase" property in my persistence.xml, what is the directory relative to? In a web application, is it relative to the application root? In a TestNG test, is it relative to the directory of the test class?
2) I am new to both Hibernate Search and Lucene. I read in the Lucene documentation that all logical operators are to be all caps like AND, OR, etc. Is this a requirement when handing a query to Hibernate Search, or does Hibernate Search relax this?
Thanks for any insight.
|