Re: boolean query for multiple values on a specific field

2016-01-27 Thread Jack Krupansky
Do you have other code you are not showing us? For example, what could are you using to get the text of the parsed query? Make sure your quotes are true ASCII quotes (double quote) and not the curly quotes that word processors like to insert. What is this Repository Manager? I mean, I see no code

boolean query for multiple values on a specific field

2016-01-27 Thread G.Long
Hi :) I would like to retrieve a document from my index which must have a field called "tag" for which the value must be "(01) value1" or "value2". I'm using the lucene java api. My code is the following: String expression = "tag:(\"(01) value1\" value2)" QueryParser parser = new QueryParser

Re: Top terms relevance from specific documents ?

2016-01-27 Thread Ahmet Arslan
Hi Yannick, More like this (mlt) stuff does this already. It extracts "interesting terms" from top N documents. Don't remember but this feature may require "term vectors" to be stored. Ahmet On Wednesday, January 27, 2016 10:41 AM, Yannick Martel wrote: Le Tue, 15 Dec 2015 17:56:05 +0100, Ya

Re: Top terms relevance from specific documents ?

2016-01-27 Thread Yannick Martel
Le Tue, 15 Dec 2015 17:56:05 +0100, Yannick Martel a écrit : > Hi ! > > I am using (Java) Lucene for data indexation, and I want to produce > kind of tags cloud for specific data. > > I've found HighFreqTerms to get a top list of terms from *all > documents* (if I have well understood) (by the