analyzer « query « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » query » analyzer 

1. Lucene Query and Analyzer combination    stackoverflow.com

I have a quick question. Say, I've got a string "this string has some text in it". I want lucene to be able to find it using following searches:

"string has"
"has this"
"text ...

2. Solr NGramTokenizerFactory and PatternReplaceCharFilterFactory - Analyzer results inconsistent with Query Results    stackoverflow.com

I am currently using what I (mistakenly) thought would be a fairly straightforward implementation of Solr's NGramTokenizerFactory, but I'm getting strange results that are inconsistent between the admin analyzer and actual ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.