Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d5245bb7636096f63431988092c051cec8165f1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*******************************************************************************
 * Copyright (c) 2008 Sonatype, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.eclipse.m2e.core.internal.index;

/**
 * UserInputSearchExpression is a search expression usually coming from user input (like some UI dialogue, 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" results, since it defaults to prefix searches.
 * 
 * @author cstamas
 */
public class UserInputSearchExpression extends MatchTypedStringSearchExpression {

  public UserInputSearchExpression(String expression) {
    super(expression, MatchType.PARTIAL);
  }
}

Back to the top