Results 1 to 1 of 1
  1. #1
    skollapa is offline Member
    Join Date
    Jan 2011
    Rep Power

    Default Number of hits per document


    I would like to get the hits per document using lucene search, example:

    If a document has

    Hello world, How are doing
    Hello world, Good
    Hello world, This is lucene world

    I can get 4 hits for "world"(using termdocs), but if I want to search "Hello world". how do I work for it?
    Any ideas will be very helpful..

    Last edited by skollapa; 01-19-2011 at 09:00 PM.

Similar Threads

  1. Replies: 3
    Last Post: 01-10-2011, 02:54 AM
  2. How to Save DB Hits
    By tams115 in forum XML
    Replies: 5
    Last Post: 10-15-2010, 11:56 AM
  3. o hits while using pharsequery
    By vallaru in forum Lucene
    Replies: 0
    Last Post: 04-13-2010, 10:46 PM
  4. Measuring hits for words in a document.
    By bodrulalam in forum Lucene
    Replies: 0
    Last Post: 02-20-2010, 06:22 PM
  5. Printing the Number of Times a Number in a Range Shows up
    By space4rent00 in forum New To Java
    Replies: 1
    Last Post: 02-05-2010, 11:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts