Re: Filter by tags

2013-11-09 Thread Erick Erickson
You probably want to look at minimum should match (mm) in edismax... Best, Erick On Sat, Nov 9, 2013 at 6:33 PM, Laécio Freitas Chaves < laeciofrei...@gmail.com> wrote: > Hi, > > I'm needing to filter a search for images using tags. > > For example, a search for the museum, house, art and sea r

Filter by tags

2013-11-09 Thread Laécio Freitas Chaves
Hi, I'm needing to filter a search for images using tags. For example, a search for the museum, house, art and sea return images with at least three of the four tags or 75% of these tags. I can do this with document ranking or ...?

Re: Twitter analyser

2013-11-09 Thread Stephane Nicoll
Replying to self: silly me. I am obviously creating the array with the wrong length. final String term = new String(buffer, 1, length); should be replaced by final String term = new String(buffer, 1, length -1); and the silly trim can go away. I guess I need more coffee. S. On Sat, Nov 9, 20

Re: Twitter analyser

2013-11-09 Thread Stephane Nicoll
Hi, This is what I've tried: https://gist.github.com/anonymous/7383104 So far so good except that something is definitely wrong in my code as the synonym is not emitted as a valid token it seems. This is how my indexing analyzer is built: private static final class MyIndexAnalyzer extends Reusa