dnaber      2004/08/07 04:03:49

  Modified:    src/java overview.html
  Log:
  the demo was changed so that the "path" field isn't tokenized anymore: adapt the 
documentation to that change
  
  Revision  Changes    Path
  1.11      +10 -20    jakarta-lucene/src/java/overview.html
  
  Index: overview.html
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/overview.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- overview.html     30 May 2004 11:12:50 -0000      1.10
  +++ overview.html     7 Aug 2004 11:03:49 -0000       1.11
  @@ -102,33 +102,23 @@
   <blockquote><tt>> <b>java -cp lucene.jar:lucene-demo.jar 
org.apache.lucene.demo.IndexFiles rec.food.recipes/soups</b></tt>
   <br><tt>adding rec.food.recipes/soups/abalone-chowder</tt>
   <br><tt>&nbsp; </tt>[ ... ]
  +
   <p><tt>> <b>java -cp lucene.jar:lucene-demo.jar 
org.apache.lucene.demo.SearchFiles</b></tt>
   <br><tt>Query: <b>chowder</b></tt>
   <br><tt>Searching for: chowder</tt>
   <br><tt>34 total matching documents</tt>
  -<br><tt>0. rec.food.recipes/soups/spam-chowder</tt>
  -<br><tt>&nbsp; </tt>[ ... thirty-four documents contain the word "chowder",
  -"spam-chowder" with the greatest density.]
  -<p><tt>Query: <b>path:chowder</b></tt>
  -<br><tt>Searching for: path:chowder</tt>
  -<br><tt>31 total matching documents</tt>
  -<br><tt>0. rec.food.recipes/soups/abalone-chowder</tt>
  -<br><tt>&nbsp; </tt>[ ... only thrity-one have "chowder" in the "path"
  -field. ]
  -<p><tt>Query: <b>path:"clam chowder"</b></tt>
  -<br><tt>Searching for: path:"clam chowder"</tt>
  -<br><tt>10 total matching documents</tt>
  -<br><tt>0. rec.food.recipes/soups/clam-chowder</tt>
  -<br><tt>&nbsp; </tt>[ ... only ten have "clam chowder" in the "path" field.
  -]
  -<p><tt>Query: <b>path:"clam chowder" AND manhattan</b></tt>
  -<br><tt>Searching for: +path:"clam chowder" +manhattan</tt>
  +<br><tt>1. rec.food.recipes/soups/spam-chowder</tt>
  +<br><tt>&nbsp; </tt>[ ... thirty-four documents contain the word "chowder" ... ]
  +
  +<p><tt>Query: <b>"clam chowder" AND Manhattan</b></tt>
  +<br><tt>Searching for: +"clam chowder" +manhattan</tt>
   <br><tt>2 total matching documents</tt>
  -<br><tt>0. rec.food.recipes/soups/clam-chowder</tt>
  -<br><tt>&nbsp; </tt>[ ... only two also have "manhattan" in the contents.
  -]
  +<br><tt>1. rec.food.recipes/soups/clam-chowder</tt>
  +<br><tt>&nbsp; </tt>[ ... two documents contain the phrase "clam chowder"
  +and the word "manhattan" ... ]
   <br>&nbsp;&nbsp;&nbsp; [ Note: "+" and "-" are canonical, but "AND", "OR"
   and "NOT" may be used. ]</blockquote>
  +
   The <a href="../../src/demo/org/apache/lucene/demo/IndexHTML.java">IndexHtml</a> 
demo is more sophisticated.&nbsp;
   It incrementally maintains an index of HTML files, adding new files as
   they appear, deleting old files as they disappear and re-indexing files
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to