Then your lucene Document can be:
Survey + n Variables,
The idea is just to put everything related to a combined Document, and
search on it.
--
Chris Lu
-
Full-Text Search on Any Database
http://www.dbsight.net
On 7/25/05, Magne Skjeret <[EMAIL PROTECTED]> wrote:
> Chris L
Hi Magne,
Assuming number of variables will not be large, build 2 indexes
Index 1: contents and documents(variable1 + variable2 + variable3...)
Index 2: documents and variables
Example Query: Get "Survey" where "Variable.label" contains "gender"
Step 1) First query would be to "Index 1
Chris Lu wrote:
>Maybe you can have one Document = Survey+Variable,
>and have fields like "abstract", "label".
>
>Just search on the combined documents.
>
>
Hi
A Survey can have 100's of variables. That means that the Survey part is
duplicated N variable times.
Or did I misunderstand you?
Magn
Maybe you can have one Document = Survey+Variable,
and have fields like "abstract", "label".
Just search on the combined documents.
--
Chris Lu
-
Full-Text Search on Any Database
http://www.dbsight.net
On 7/25/05, Magne Skjeret <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have be