lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@buyways.nl>
Subject RE: Newbie question about search behavior
Date Mon, 16 Aug 2010 17:25:31 GMT
You can append it in your middleware, or try the EdgeNGramTokenizer [1]. If you're going for
the latter, don't forget to reindex and expect a larger index.

 

[1]: http://lucene.apache.org/java/2_9_0/api/all/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html
-----Original message-----
From: Mike Thomsen <mikerthomsen@gmail.com>
Sent: Mon 16-08-2010 19:09
To: solr-user@lucene.apache.org; 
Subject: Newbie question about search behavior

Is it possible to set up Lucene to treat a keyword search such as

title:News

implicitly like

title:News*

so that any title that begins with News will be returned without the
user having to throw in a wildcard?

Also, are there any common filters and such that are generally
considered a good practice to throw into the schema for an
English-language website?

Thanks,

Mike

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message