Re: Why use a different analyzer for "index" and "query"?

2020-09-10 Thread Stavros Macrakis
I gave an example of why you might want to analyze the corpus differently from the query just yesterday -- see https://lucene.472066.n3.nabble.com/Lowercase-ing-everything-but-acronyms-td4462899.html -s On Thu, Sep 10, 2020 at 11:19 AM Steven White wrote: > Hi everyone, > > In Sol

Re: Lowercase-ing everything but acronyms

2020-09-09 Thread Stavros Macrakis
I can't help you on the implementation issues, but... You may want to do something a little different than keep all-uppercase tokens in upper case. You may want simply to special-case all-uppercase stopwords, so that they are not ignored. The poster boy for that is IT, which in my last search appl

Search for term except within phrase

2020-07-06 Thread Stavros Macrakis
(Sorry for sending this with the wrong subject earlier.) How can I search for a term except when it's part of certain phrases? For example, I might want to find documents mentioning "pepper" where it is not part of the phrases "chili pepper", "hot pepper", or "pepper sauce". It does not work to

Re: Tokenizing managed synonyms

2020-07-06 Thread Stavros Macrakis
How can I search for a term *except *when it's part of certain phrases? For example, I might want to find documents mentioning "pepper" where it is not part of the phrases "chili pepper", "hot pepper", or "pepper sauce". It does not work to search for [pepper NOT ("chili pepper" OR "hot pepper" O

Re: Trouble starting Solr on Windows/Ubuntu

2020-05-23 Thread Stavros Macrakis
t the java process crash big time. > Could be a permission issue between your windows file system and the WSL > file system? Try do a chmod -R 777 solr-8.5.1 and then try again? > > Jan Høydahl > > > 22. mai 2020 kl. 23:32 skrev Stavros Macrakis : > > > > I'm tr

Trouble starting Solr on Windows/Ubuntu

2020-05-22 Thread Stavros Macrakis
I'm trying to follow the Solr Tutorial ( https://lucene.apache.org/solr/guide/8_5/solr-tutorial.html#solr-tutorial). Yesterday, "bin/solr start" worked fine -- I could see the status page on http://localhost:8993 . I even created a test config server/solr/test1 through the Web interface. Today, I