Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various bug fixes, refactoring, and additional testing. #3

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
06da7fe
Adding a .gitignore to exclude build/dist and stuff for a future Inte…
jstrassburg Sep 5, 2014
e96bd09
Converting to IntelliJ IDEA project
jstrassburg Sep 5, 2014
36dd1d5
Making unit tests work with the jUnit runner, needed to mark the Toke…
jstrassburg Sep 5, 2014
f82ffd3
Re-enabling some commented out test code.
jstrassburg Sep 6, 2014
44d1f06
Logging an error for an IOException that was swallowed and fixing the…
jstrassburg Sep 6, 2014
85cdecd
Another attempt to fix the intermittent test-framework/lucene-core te…
jstrassburg Sep 6, 2014
ff500dd
Fixing all IntelliJ IDEA code quality warnings
jstrassburg Sep 7, 2014
3937f89
Putting a version on the jar
jstrassburg-ds Sep 8, 2014
d82e2f7
Extracting parameters into their own tested class.
jstrassburg-ds Sep 8, 2014
a653fa8
Extracting parameters into their own tested class.
jstrassburg Sep 8, 2014
b6e7ef1
Merge branch 'master' of github.com:jstrassburg/auto-phrase-tokenfilter
jstrassburg Sep 8, 2014
60f63c0
Beginning test of parser
jstrassburg Sep 9, 2014
652aa85
Finishing testing parser.inform
jstrassburg Sep 10, 2014
ee34512
Extracting invokeInform so it can be reused to test the create parser…
jstrassburg Sep 10, 2014
4983389
Merge branch 'master' of github.com:jstrassburg/auto-phrase-tokenfilter
jstrassburg Sep 10, 2014
858b582
Adding missing libs for powermock
jstrassburg Sep 10, 2014
b48fa0a
Merge branch 'master' of github.com:jstrassburg/auto-phrase-tokenfilter
jstrassburg Sep 10, 2014
d26b97c
Adding missing mockito libs
jstrassburg Sep 10, 2014
bed5698
Merge branch 'master' of github.com:jstrassburg/auto-phrase-tokenfilter
jstrassburg Sep 10, 2014
aefebba
Upgrading powermock-module-junit4 to 1.5.6
jstrassburg Sep 10, 2014
bb5563b
Merge branch 'master' of github.com:jstrassburg/auto-phrase-tokenfilter
jstrassburg Sep 10, 2014
67fab63
Initial create parser tests, fixed bug with extra space on the end of…
jstrassburg Sep 10, 2014
37123fa
Extracting invoke create parser so it can be easily reused to test ma…
jstrassburg Sep 10, 2014
c34162d
Initial test cases for parser
jstrassburg Sep 10, 2014
341ac65
More test cases for parser, range queries, phrase queries, mandatory/…
jstrassburg Sep 10, 2014
4ff1a9d
Trimming modified query instead of removing the last character
jstrassburg Sep 10, 2014
e04722e
Adding log4j.properties, changing a couple infos to debugs.
jstrassburg Sep 10, 2014
6f06cf8
Adding support for grouping with parenthesis
jstrassburg Sep 11, 2014
ce25063
Some tests for grouping and boolean logic
jstrassburg Sep 11, 2014
89abb42
Handling phrases by escaping and restoring quotes
jstrassburg Sep 11, 2014
cc05a00
Fixing issue with range query TO and NOW which must remain uppercase …
jstrassburg Sep 11, 2014
a9450f2
Changing replaceWhitespaceWith char to Character to support nulling i…
jstrassburg Sep 11, 2014
6d4e0f8
Updates to allow a null replace with character which will just remove…
jstrassburg Sep 11, 2014
10b3965
Merge branch 'master' of github.com:jstrassburg/auto-phrase-tokenfilter
jstrassburg Sep 11, 2014
d775d6d
Adding a test for a phrase with more than one space in it.
jstrassburg Sep 16, 2014
ecd70a5
Adding a test for a duplicate phrase in the phrases file
jstrassburg Sep 16, 2014
bab4279
Fixing char->Character bug in factory
jstrassburg Sep 17, 2014
974f99e
Simplifying the attribute access in the token filter.
jstrassburg Sep 23, 2014
005e509
Adding assertions that the token filter's incrementToken method retur…
jstrassburg Sep 24, 2014
7ec85d0
Adding a logDebug method that will check if debug logging is enabled …
jstrassburg Sep 24, 2014
906dee1
Adding a bunch of debug statements
jstrassburg Sep 25, 2014
c57aca4
Fixing the positioning where nextToken returns null resets it to zero…
jstrassburg Sep 25, 2014
82d311b
Fixing a bug in the endsWith method and documenting another bug that …
jstrassburg Sep 25, 2014
fa9b230
Adding an analyzer to assist with unit testing and adding a missing c…
jstrassburg Sep 26, 2014
d382f06
Removing support for emitting single tokens as I don't plan to use it…
jstrassburg Sep 26, 2014
5f077cd
Cleaning up all the filter tests to use the assertAnalyzesTo helper
jstrassburg Sep 26, 2014
f28b0c8
Extracting lazy debug logging methods into their own class.
jstrassburg Sep 26, 2014
69e6005
Extracting some more char array util and testing them.
jstrassburg Sep 26, 2014
48a8633
Simplified initial rewrite of token filter. More cases need testing a…
jstrassburg Sep 28, 2014
6cda2f6
More filter test cases.
jstrassburg Sep 28, 2014
19ccb49
Missed parameter to format string for logging.
jstrassburg Sep 29, 2014
73798fe
Merge pull request #1 from jstrassburg/filterRewrite
jstrassburg Oct 1, 2014
8ab0ced
Updating filter to use the passed in luceneMatchVersion
jstrassburg Oct 22, 2014
472f5b0
Fixing issue with a null query
jstrassburg Oct 28, 2014
499804e
Update to find the longest phrase match if many match
jstrassburg Oct 31, 2014
cd5b542
Update to find the longest phrase match if many match
Aug 11, 2015
747bacb
adding regular expression support for common units of measurement
Aug 11, 2015
679c1e5
Merge branch 'master' of https://github.com/schledererj/auto-phrase-t…
Aug 11, 2015
7ce0df0
Merge pull request #2 from schledererj/master
jstrassburg Aug 11, 2015
b98a72f
Unit tests for regular expression parsing
Aug 11, 2015
6058f58
Cleaning up
Aug 11, 2015
7c4015f
Merge pull request #3 from schledererj/master
jstrassburg Aug 12, 2015
9c1f383
Adding basic fuzzy matching, where a string of (optional) TOKEN state…
Aug 18, 2015
28c507c
Changing the syntax to TOKEN? to indicate that the TOKENs are optiona…
Aug 18, 2015
2b2bd80
Fixing an ArrayIndexOutOfBounds that I was receiving when indexing da…
Aug 19, 2015
b83ba8e
Fixing a fuzzy match bug where it would match without matching all of…
Aug 21, 2015
4fd616b
Fixing a bug where the fuzzy matching wasn't consuming the proper num…
Aug 21, 2015
13c895e
Fixing a bug where if the first few terms match (and there is no fuzz…
Aug 21, 2015
2544607
Fixing an issues with inches. inche or inchs were matching
jstrassburg Sep 17, 2015
de390e0
Fixing issue with quantity replacements in product numbers by adding …
jstrassburg Sep 17, 2015
4db15e6
Merge pull request #4 from Admje14/master
jstrassburg Sep 21, 2015
f32ba17
Adding some space around the QParserPlugin manipulation for range que…
jstrassburg Nov 16, 2015
a7aea66
Updates to dependencies and code for Solr 5.4
jstrassburg Jan 6, 2016
3d2d149
Merge pull request #5 from jstrassburg/lucene_solr_5_4
jstrassburg Jan 6, 2016
285cede
Removing older version of slf4j so there is only one, fixes build war…
jstrassburg Jan 6, 2016
df5f3c9
Create LICENSE
jstrassburg Jul 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# built application files
*.apk
*.ap_

# files for the dex VM
*.dex

# Java class files
*.class

# generated files
bin/
gen/
build/
dist/

# Local configuration file (sdk path, etc)
local.properties

# Eclipse project files
.classpath
.project

# Intellij
.idea/workspace.xml
.idea/tasks.xml
out/

# Maven
log/
target/

# Mac specific
*.DS_Store

# ProGuard
proguard-project.txt
proguard_logs/
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/artifacts/auto_phrasing_tokenfilter_5_4.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/dictionaries/jamesst.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/dictionaries/jim.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/dictionaries/jstrassburg.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/junit_4_12.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/lucene_test_framework_5_4_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/libraries/org_apache_zookeeper_zookeeper_3_4_7.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/libraries/org_powermock_powermock_api_mockito_1_6_4.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/libraries/org_powermock_powermock_module_junit4_1_6_4.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/scopes/scope_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

125 changes: 125 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading