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

File Path search does not work anymore #9

Closed
tipsytopsy opened this issue Mar 8, 2013 · 3 comments
Closed

File Path search does not work anymore #9

tipsytopsy opened this issue Mar 8, 2013 · 3 comments
Labels
Milestone

Comments

@tipsytopsy
Copy link

Unable to parse your query:
You might try to enclose your search term in quotes, escape special characters with , or read the Help on the query language. Error message from parser:
Cannot parse '/apps/abc/xyz/': Lexical error at line 1, column 41. Encountered: after : ""

The File Path search fails for all cases, so does the 'Only in this Directory' search in xref fail. The only way to get it working is escaping each forward slash by backward slash.

So if file path is like '/apps/abc/xyz/', it works fine - but it is not the way users would prefer to do it.

@tarzanek
Copy link
Contributor

OK
so I could reproduce, this is one more regression of my lucene changes it seems :(
Anyway, it's good we found this, I will try to fix it and add it to the testing suite

cheers
L

@ghost ghost assigned tarzanek Mar 11, 2013
@tarzanek
Copy link
Contributor

OK, I think I understand the prob, it seems PathTokenizer needs more update to be fully lucene 4.x working ... working on a patch

tarzanek pushed a commit to tarzanek/OpenGrok that referenced this issue Apr 8, 2013
This was referenced Apr 8, 2013
tarzanek pushed a commit to tarzanek/OpenGrok that referenced this issue Apr 9, 2013
cleanups, path tokenizer fixes and tests
fixes issue oracle#9
@tarzanek
Copy link
Contributor

I will close this bug, since I pushed a fix few seconds ago

vladak pushed a commit to vladak/OpenGrok that referenced this issue Aug 8, 2013
cleanups, path tokenizer fixes and tests
fixes issue oracle#9
ahornace pushed a commit to ahornace/OpenGrok that referenced this issue May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants