Re: Browse by Letter within a Category

2004-07-12 Thread Daniel Naber
On Monday 12 July 2004 17:48, O'Hare, Thomas wrote: > Does Lucene have a "beginning of line" query syntax, like the regular > expression ^ symbol? For example, > Â > title:^A* If your title isn't tokenized the "^" is implicit, I think. As usual, if your title is tokenized you can easily add anot

Re: Browse by Letter within a Category

2004-07-12 Thread Peter M Cipollone
Monday, July 12, 2004 11:48 AM Subject: RE: Browse by Letter within a Category Thank you for the suggestion. I implemented what you recommended and now having it working. I'm sorting on the first word in the title. Does Lucene have a "beginning of line" query syntax, like the regu

RE: Browse by Letter within a Category

2004-07-12 Thread O'Hare, Thomas
rt by a date? I currently have a date field that is used for searching in the format MMDD as a Field.Keyword. Thanks, Tom _ From: Daniel Naber [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 4:34 AM To: Lucene Users List Subject: Re: Browse by Letter within a Category On

Re: Browse by Letter within a Category

2004-07-09 Thread Daniel Naber
On Friday 09 July 2004 04:27, O'Hare, Thomas wrote: > Searcher.search("category:\"Products\" AND title:\"A*\"", new > Sort("title")); You can only sort on fields which are not tokenized I think. So add an extra field with the title, but untokenized, just for sorting. Also, "A*" might slow down

Browse by Letter within a Category

2004-07-08 Thread O'Hare, Thomas
I would like to implement the following functionality: - Search a specific field (category) and limit the search where the title field begins with a given letter, and return the results sorted in alphabetical order by title. Both the category and title fields are tokenized, indexed and stored in t