R: Retrieve found keywords from document

2010-11-25 Thread Claudia Grieco
Thanks a lot. I used the lucene analyzer to parse the profile and everything works :) -Messaggio originale- Da: Ian Lea [mailto:ian@gmail.com] Inviato: giovedì 25 novembre 2010 14.52 A: java-user@lucene.apache.org Oggetto: Re: Retrieve found keywords from document You could parse

Re: Retrieve found keywords from document

2010-11-25 Thread Ian Lea
" I have to extract hobbies > from text first...is it possible to do it using Lucene? > > -Messaggio originale- > Da: Ian Lea [mailto:ian@gmail.com] > Inviato: giovedì 25 novembre 2010 13.01 > A: java-user@lucene.apache.org > Oggetto: Re: Retrieve found ke

R: Retrieve found keywords from document

2010-11-25 Thread Claudia Grieco
ale- Da: Ian Lea [mailto:ian@gmail.com] Inviato: giovedì 25 novembre 2010 13.01 A: java-user@lucene.apache.org Oggetto: Re: Retrieve found keywords from document Can't you just store the hobbies as standard stored fields (Field.Store.YES), or as a single field, call doc.get("hobbies&qu

Re: Retrieve found keywords from document

2010-11-25 Thread Ian Lea
Can't you just store the hobbies as standard stored fields (Field.Store.YES), or as a single field, call doc.get("hobbies") and do what you want with them? This sounds rather like faceting - if so you might want to consider using Solr. http://wiki.apache.org/solr/SolrFacetingOverview -- Ian. O

Retrieve found keywords from document

2010-11-25 Thread Claudia Grieco
Hi guys, I have this problem: I'm using Lucene to create a search engine on people profiles. I have a set of hobbies (let's say {"reading" , "singing"} for example) and I want to find people who have at least one of these hobbies AND which of these hobbies they have. Currently I search for eac