The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

mickdelaney (7) [Avatar] Offline
#1
I have an architectural question about using lucene & probably solr.

I'm building an index for searching a CV database. Basically every CV on there will have some fields like:

rate of pay, address, title

these fields are straight forward. The area I need advise on is, skills and job history. For skills, someone might add an entry like: Ruby - 5 Years, Java - 9 Years

So there's essentially N number of skills, each with a string name and a int no of years. I was thinking I could use a field for each skill, and possibly add them like so:

1_skill: ruby, 2_skill: Java

But how can I index the years experience? would I then add a field for each one like:

1_skill_years: 5, 2_skill_years: 9

I could guarantee client side that a skill would always have a number of years, but can i search across the fields, e.g ruby developers with 5 years experience

Any help greatly appreciated?

regards
otis (156) [Avatar] Offline
#2
Re: Denormalizing relational data for lucene
Hi,

Please ask on the Lucene user mailing list. This forum is for LIA.

Thanks,
Otis