mirror of https://github.com/apache/lucene.git
MemoryIndex javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808218 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4b60a91349
commit
f39dadfb26
|
@ -60,7 +60,7 @@ import org.apache.lucene.search.Similarity;
|
||||||
* fuzzy fulltext search in realtime streaming applications such as Nux XQuery based XML
|
* fuzzy fulltext search in realtime streaming applications such as Nux XQuery based XML
|
||||||
* message queues, publish-subscribe systems for Blogs/newsfeeds, text chat, data acquisition and
|
* message queues, publish-subscribe systems for Blogs/newsfeeds, text chat, data acquisition and
|
||||||
* distribution systems, application level routers, firewalls, classifiers, etc.
|
* distribution systems, application level routers, firewalls, classifiers, etc.
|
||||||
* Rather than targetting fulltext search of infrequent queries over huge persistent
|
* Rather than targeting fulltext search of infrequent queries over huge persistent
|
||||||
* data archives (historic search), this class targets fulltext search of huge
|
* data archives (historic search), this class targets fulltext search of huge
|
||||||
* numbers of queries over comparatively small transient realtime data (prospective
|
* numbers of queries over comparatively small transient realtime data (prospective
|
||||||
* search).
|
* search).
|
||||||
|
@ -320,7 +320,7 @@ public class MemoryIndex implements Serializable {
|
||||||
* the token stream to retrieve tokens from.
|
* the token stream to retrieve tokens from.
|
||||||
* @param boost
|
* @param boost
|
||||||
* the boost factor for hits for this field
|
* the boost factor for hits for this field
|
||||||
* @see Field#setBoost(float)
|
* @see org.apache.lucene.document.Field#setBoost(float)
|
||||||
*/
|
*/
|
||||||
public void addField(String fieldName, TokenStream stream, float boost) {
|
public void addField(String fieldName, TokenStream stream, float boost) {
|
||||||
try {
|
try {
|
||||||
|
@ -405,7 +405,7 @@ public class MemoryIndex implements Serializable {
|
||||||
* @return the relevance score of the matchmaking; A number in the range
|
* @return the relevance score of the matchmaking; A number in the range
|
||||||
* [0.0 .. 1.0], with 0.0 indicating no match. The higher the number
|
* [0.0 .. 1.0], with 0.0 indicating no match. The higher the number
|
||||||
* the better the match.
|
* the better the match.
|
||||||
* @see org.apache.lucene.queryParser.QueryParser#parse(String)
|
*
|
||||||
*/
|
*/
|
||||||
public float search(Query query) {
|
public float search(Query query) {
|
||||||
if (query == null)
|
if (query == null)
|
||||||
|
|
|
@ -104,8 +104,6 @@ public class SynonymTokenFilter extends TokenFilter {
|
||||||
* a synonym for the current token's term
|
* a synonym for the current token's term
|
||||||
* @param current
|
* @param current
|
||||||
* the current token from the underlying child stream
|
* the current token from the underlying child stream
|
||||||
* @param reusableToken
|
|
||||||
* the token to reuse
|
|
||||||
* @return a new token, or null to indicate that the given synonym should be
|
* @return a new token, or null to indicate that the given synonym should be
|
||||||
* ignored
|
* ignored
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue