lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Adding Fields to Documents with UnStored Fields - crazy scheme?
Date Fri, 09 Jun 2006 18:54:56 GMT

: > : would consist of two Documents,
: > : Document X: fileID:<Foo>, contents:<unknown>
: > : Document Y:fileID:<Foo>, title:<Bar>, url:<www.baz.com>, etc.

: > add another document with the same fileID and a title field and a url
: > field, and you search for "contents:germany" you're still going to get
: > back the same document -- it's not going to magically have the other
: > fields in it just because they have the same fileID.
: That kinda would be the point - "contents:germany" would get the same
: fileIDs, but "contents:germany title:medicine" would (hopefully) give
: us a more specific query.

when you say "contents:germany title:medicine" i'm not sure if you are
assuming that both clauses are mandatory or optional ... if they are
optional then yeah you can do that, and in some cases you'll get the same
fileID twice .. if you mean you want the list of fileIDs that match both
clauses, you're not going to get any results back -- because no doc with a
contents field is going to have a title field, and no doc with a title
field is going to have a contents field.



-Hoss


---------------------------------------------------------------------
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