Re: unable to figure out nutch type highlighting in solr....

2007-10-05 Thread Steven Rowe
Adrian Sutton wrote: > We didn't do anything at all to the HTML, the editor returns valid XHTML > (using numeric entities, never named entities which aren't valid in XML > and don't tend to work in XHTML) [...] Named entity references are valid in XML. They just need to be declared before they ar

Re: Color search

2007-09-28 Thread Steven Rowe
; 20% gray #f0f0f0 = #303030 > 10% brown #8b4513 = #0e0702 > = #3e3732 > > The distance would be: > sqrt( (r1 - r0)^2 + (g1 - g0)^2 + (b1 - b0)^2 ) > > Where r0g0b0 is the color the user asked for, and r1g1b1 is the composite > color of the item, calculated above. > >

Re: Color search

2007-09-28 Thread Steven Rowe
Hi Guangwei, When you index your products, you could have a single color field, and include duplicates of each color component proportional to its weight. For example, if you decide to use 10% increments, for your black dress with 70% of black, 20% of gray, 10% of brown, you would index the follo

Re: Converting German special characters / umlaute

2007-09-27 Thread Steven Rowe
Chris Hostetter wrote: > : is there an analyzer which automatically converts all german special > : characters to their specific dissected from, such as ü to ue and ä to > : ae, etc.?! > > See also the ISOLatin1TokenFilter which does this regardless of langauge. Actually, ISOLatin1TokenFilter doe