org.apache.maven.index.expr
Class UserInputSearchExpression

java.lang.Object
  extended by org.apache.maven.index.expr.StringSearchExpression
      extended by org.apache.maven.index.expr.SearchTypedStringSearchExpression
          extended by org.apache.maven.index.expr.UserInputSearchExpression
All Implemented Interfaces:
SearchExpression, SearchTyped

public class UserInputSearchExpression
extends SearchTypedStringSearchExpression

UserInputSearchExpression is a search expression usually coming from user input (like some UI dialogue, UI element or CLI). It will be normalized and tokenized and then a search will happen against it. Search expressions of this type will always provide "broader" (scored, not exact) results, since it defaults to prefix searches and assumes "non complete" input.

Author:
cstamas

Constructor Summary
UserInputSearchExpression(String expression)
           
 
Method Summary
 
Methods inherited from class org.apache.maven.index.expr.SearchTypedStringSearchExpression
getSearchType
 
Methods inherited from class org.apache.maven.index.expr.StringSearchExpression
getStringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInputSearchExpression

public UserInputSearchExpression(String expression)
                          throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.