analyzer « Search « JPA Q&A





1. synonyms analyzer and PhoneticAnalyzer in Hibernate Search    stackoverflow.com

Does someone knows how to use Phonetic Analyzer and synonyms analyzer. I'm not finding a good tutorial that explains this well??

2. what analzyer is good for my situation? hibernate search case    stackoverflow.com

We are running a search app for book. It is implemented by hibernate search. Book entity is defined as following:

@Entity
@Indexed
public class Book{
@DocumentId
private Integer UID;
@Field
private String title;

@Field
private String description;
...}
If a user search book ...

3. Lucene Analyzer for Indexing and Searching    stackoverflow.com

I have a field that I am indexing with Lucene like so:

@Field(name="hungerState", index=Index.TOKENIZED, store=Store.YES)
public HungerState getHungerState() {
The possible values of this field are HUNGRY, SLIGHTLY_HUNGRY, and NOT_HUNGRY When these values are indexed ...