lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Linking Fields to Documents possible?
Date Mon, 23 Nov 2009 10:09:43 GMT
Lucene is not a database.  You'll need to flatten the data and yes,
that does mean duplication.


--
Ian.


On Mon, Nov 23, 2009 at 9:05 AM, sameerpatil <nabblegm0il@gmail.com> wrote:
>
> Hi,
>
>  I have a requirement where I have a list of Suppliers(documents for lucene
> index) and a list of Products(documents again). Each Product has a supplier.
> e.g. :
> Product -> RouterX, Supplier -> DLink, Netgear
> Product -> RouterY, Supplier -> Cisco
>
> If I search for Cisco, RouterY should show up. If I implement the supplier
> as a Field in the Document - Router, I will have to update all the Products
> if the name of a Supplier changes.
>
> Can I not just link the field - supplier in Product to the Supplier somehow
> rather than duplicating ??
>
> -thanks
> --
> View this message in context: http://old.nabble.com/Linking-Fields-to-Documents-possible--tp26474610p26474610.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message