Re: Sorting a search result

2007-09-18 Thread anorman
tedSet? Thanks, Albert Zach Bailey wrote: > > You could use a SortedSet, which automatically inserts an object into > its sorted position when calling add()? > > Cheers, > -Zach > > anorman wrote: >> I have set up a search result made up of a resultBean obje

Sorting a search result

2007-09-18 Thread anorman
I have set up a search result made up of a resultBean object containing the information that I am fetching. Currently it is sorted by score (relevance) which is great and what I want. However, I have created a loop which continues to add results from several indexes to the search result (e.g. ar

Re: Searching Diacritics

2007-08-28 Thread anorman
This was the problem, it worked excellent! Thanks for the help! -Albert karl wettin-3 wrote: > > > 27 aug 2007 kl. 20.30 skrev anorman: > >> >> I've tried to implement an analyzer with little different then using: >> >> result = new ISOLatin1

Re: Searching Diacritics

2007-08-27 Thread anorman
ch as "cèdulas" but not "cedulas", with the change it will find neither, it just appears to be stripping it out altogether. Any suggestions? anorman wrote: > > Can I do this at search time rather than index time? Below is my code > that is handling the searching, w

Re: Searching Diacritics

2007-08-27 Thread anorman
rdFilter(result); > result = new LowerCaseFilter(result); > result = new StopFilter(result, stopSet); > result = new ISOLatin1AccentFilter(result); > return result; > } > > > anorman wrote: >> This looks like exactly what I want. Would I implement this a

Re: Searching Diacritics

2007-08-27 Thread anorman
This looks like exactly what I want. Would I implement this along with another analyzer such as the standard or stand alone? Does anyone have any code examples of implementing such a thing? Thanks, Albert karl wettin-3 wrote: > > > 27 aug 2007 kl. 16.03 skrev anorman: > &g

Searching Diacritics

2007-08-27 Thread anorman
I have a searchable index of documents which contain french and spanish diacritics (è, é, À) etc. I would like to make the content searchable so that when a user searches for a word such as "Amèrique" or "Amerique" (without diacritic) then it returns the same results. Has anyone set up something