lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Bathgate <ja...@b7interactive.com>
Subject Partial Matching in both query and field
Date Tue, 02 Jul 2013 21:10:15 GMT
Given a string of "123456" and a search query "923459", what should the
schema look like to consider this a match because at least 4 consecutive in
characters the query match 4 consecutive characters in the data? I'm trying
an NGramFilterFactory on the index and NGramTokenizerFactory on the query
in the schema, but that's not working.

I believe the problem is 'field:923459' is parsed as 'field:"9234 2345
3459"' instead of 'field:9234 field:2345 field:3459'.

[image: SearchSpring | Findability Unleashed]

James Bathgate | Sr. Developer

Toll Free (888) 643-9043 x610 - Fax (719) 358-2027

4291 Austin Bluffs Pkwy #206 | Colorado Springs, CO 80918
www.searchspring.net       <http://www.searchspring.net>

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