The one that meets your requirements most easily will be the best. If people will want to search for words in particular fields you'll need to split it but if they only ever want to search across all fields there's no point.
A common requirement is to want both, in which case you can split it and also store everything in a common field called something like "contents". Or look at MultiFieldQueryParser. -- Ian. On Thu, Feb 13, 2014 at 10:16 AM, Rajendra Rao <rajendra....@launchship.com> wrote: > Hello, > > I have query and document.Its unstructured & natural text.I used lucene > for searching document on query.If I separate Document into field and then > search.what will be difference? > I can't check it because now i don't have field separated data .But in > future we will have. > > Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org