On 08/21/2013 09:51 AM, Ankit Murarka wrote:
> Yeah..I eventually DID THIS....
> 
> Just a small question : Knowing that BooleanQuery/PrefixQuery/WildCardQuery 
> might also run fine even if I index the complete document as opposed to doing 
> it Line by Line.  Shouldn't I do it this way rather than indexing each line 
> for Boolean/Prefix/Wildcard also. ?
> 
> What might be the impact on performance. What might be possible pitfalls..

Do you want to search documents or lines? Do you want a search "xxx AND yyy" to 
return a document
where xxx is at line 6 and yyy is at line 324? If yes, index by doc, if not, 
index by line.
No particular performance difference (less documents, but same number of term 
occurrences).

> Also Final part is showing user the content above and below the given query 
> to search. Will this be achieveable if I index document by document for 
> Boolean/Prefix/Wildcard...

Sorry, i don't understand this.

-- 
   Roberto Ragusa    mail at robertoragusa.it

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

Reply via email to