On Mon, Nov 8, 2010 at 7:25 AM, Szabo, Patrick (LNG-VIE) <patrick.sz...@lexisnexis.at> wrote: > Hi, > > I'm new to Forrest and my boss in all it's wisdom decided that i have to > administrate our forrest installation now. > I wasn't involved in our installation until now. > > I've already read the forrest documentation and it did help me, but > there are quite a few question that i couldn't answer.
Yeah, in trying to answer your question I realize that the documentation in this area is weak. After you understand this stuff, it'd be great if you could contribute to them. > I understand that i can use fields to search with lucene. Is there a > list somewhere where i can see which fields are available ?! For any given document, you can add a .lucene extension and the element names are the searchable field names. These are mostly title, subtitle, abstract, version, author, and content. > Can i somehow add fields ?! I don't think there's a way to add per-project fields, but for you Forrest implementation, you can try to add it into $FORREST_HOME/main/webapp/resources/stylesheets/xdoc-to-lucene.xsl > We have an element <revised modified="23.06.2010"/> in our source xml > and i would like to be able to serch for the date. E.g. i want to see > all the documents that where modified last week. Hmm... I'm not sure, I reckon you'd have to index it based on its xdoc equivalent. > I've got a few more questions but i don't want to pack them all in just > one mail. Yeah, one per thread is always preferred - mail threads are cheap though:) I'm not sure what version of Forrest you are on but I had to do some hacking just to get the indexing to work - I reckon it's been a long-standing bug. I'll take that up on the dev@ list though. Good luck! --tim