Can you use Google as grep? Not so much. That's because the use cases are very different. grep is for linear search through unparsed content (whitespaces and all) and it primarily find the matched string. There is no ranking or long range matches.
Solr - similar to Google - is for processed/normalized/contextualized search of content and returns whole documents (highlighting is nearest to returning matched segments). So, if your use case is grep, you are better of with SilverSearcher or other efficient re-implementations in that domain of text processing. Regards, Alex. ---- http://www.solr-start.com/ - Resources for Solr users, new and experienced On 25 May 2017 at 11:20, Steven White <swhite4...@gmail.com> wrote: > Hi everyone, > > Is there a way to setup Solr so the search commands I send it and the > searches it does is similar to the way "grep" works (i.e.: regex)? If not, > how close can Solr be setup to mimic "grep"? > > Thanks in advanced. > > Steve