How do I get error messages?

2018-12-11 Thread Jason
Hi, If I request some query which is incorrect grammatically, error message is shown in web browser but not in my python request code. It just outputs "400 Bad Request". How do I get error message in my python code? Below is sample code...

How to filter auto suggestion in Solr

2018-12-11 Thread Ankit Patel
Guys, I am trying to implement Solr context filtering to filter auto-suggestion result based on the category value. We have implemented autosuggestion based on SpellCheckComponent. Here is my detail question https://stackoverflow.com/questions/53707224/filter-the-solr-autosuggestion-in-hybris

Query kills Solr

2018-12-11 Thread Webster Homer
Is there a way to get an approximate measure of the memory used by an indexed field(s). I’m looking into a problem with one of our Solr indexes. I have a Japanese query that causes the replicas to run out of memory when processing a query. Also, is there a way to change or disable the timeout

Re: URL Case Sensitive/Insensitive

2018-12-11 Thread Walter Underwood
Lowercasing might work, it might not. Hostnames originally were case-insensitive, but that might have changed with I18N hostnames. Paths are interpreted by the web server. On Windows, paths are case-insensitive. On Unix, they are case-sensitive. Web servers might be configured to use

RE: URL Case Sensitive/Insensitive

2018-12-11 Thread Moyer, Brett
https://www.nuveen.com/mutual-funds/nuveen-high-yield-municipal-bond-fund https://www.nuveen.com/mutual-funds/Nuveen-High-Yield-Municipal-Bond-Fund Is there any issue if we just lowercase all URLs? I can't think of an issue that would be caused, but that's why I'm asking the Guru's! Brett Moyer

Re: URL Case Sensitive/Insensitive

2018-12-11 Thread Toke Eskildsen
Moyer, Brett wrote: > What is the best practice on URL case? I work with web archiving and URL-normalisation is quite a tricky thing. The software we use is https://github.com/ukwa/webarchive-discovery and in there a lot of energy has been spend on the subject. Long story short, we index 2

Re: Keyword field with tabs in Solr 7.4

2018-12-11 Thread Erick Erickson
You are probably in "url-encoding hell". Add =query to your search and check the parsed query returned to see what Solr actually sees. Try url-encoding the backslash *%5C" maybe? Best, Erick On Tue, Dec 11, 2018 at 1:40 AM Michael Aleythe, Sternwald wrote: > > Hey everybody, > > i have a Solr

Re: URL Case Sensitive/Insensitive

2018-12-11 Thread Erick Erickson
What do you mean by "url case"? No, I'm not being snarky. The value returned in a doc is very different than the value searched. The stored data is the original input without going through any filters. If you mean the value _returned_ by Solr from a stored field, then the case is exactly

URL Case Sensitive/Insensitive

2018-12-11 Thread Moyer, Brett
Hello, I'm new to Solr been using it for a few months. A recent question came up from our business partners about URL casing. Previously their URLs were upper case, they made a change and now all lower. Both pages/URLs are still accessible so there are duplicates in Solr. They are requesting

NGramFilterFactory and Similarity

2018-12-11 Thread elisabeth benoit
Hello, We are trying to use NGramFilterFactory for approximative search with solr 7. We usually use a similarity with no tf, no idf (our similarity extends ClassicSimilarity, with tf and idf functions always returning 1). For ngram search though, it seems inappropriate since it scores a word

Re: Filter the Solr autosuggestion in Hybris

2018-12-11 Thread Ankit Patel
Please note: here we have autosuggestion with `SpellCheckComponent`, which we want to filter. Here is the question https://stackoverflow.com/questions/53707224/filter-the-solr-autosuggestion-in-hybris On Tue, 11 Dec 2018 at 17:02 Ankit Patel wrote: > I am trying to implement Solr context

Filter the Solr autosuggestion in Hybris

2018-12-11 Thread Ankit Patel
I am trying to implement Solr context filtering to filter auto-suggestion result based on the category value. *schema.xml*

Re: Case insensitive query for fetching facets

2018-12-11 Thread Ritesh Kumar
Yes, all the three options (copy fields, using dynamic fields and the SortableTextField) are feasible. Since I am on the 7.5.0 version of Solr, I will go ahead with the SortableTextField option. Thank you team!! On Fri, Dec 7, 2018 at 8:46 PM Alexandre Rafalovitch wrote: > If you are on the

Keyword field with tabs in Solr 7.4

2018-12-11 Thread Michael Aleythe, Sternwald
Hey everybody, i have a Solr field keyword field defined as: Some documents have tabs (\t) indexed in this field, e.g. IPTC_2_080_KY:"\tbus\tbahn" How can i query this content? I tried "\tbus\tbahn", \\tbus\\tbahn and " bus bahn"