question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preventing empty strings from being sent to Solr unnecessary?

See original GitHub issue

_is_null_value prevents fields that map to the empty string from being sent to Solr. Why is that? The comment around this code suggests that this averts some issue within Solr itself, but Solr 4.10 at least seems to be able to handle this. Should pysolr continue to filter out empty string values?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
domenkozarcommented, Apr 1, 2015

I think this raises a question what Solr versions should pysolr officially support.

0reactions
stale[bot]commented, Jul 9, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preventing empty strings in index
Preventing empty strings in index. Hi! indexed. filter to prevent numbers-only strings from being added to the index.
Read more >
Update Request Processors | Apache Solr Reference Guide 7.1
If either of them is missing, that part is replaced with an empty string. If those fields are multi-valued, only the first value...
Read more >
How do I get empty fields in SOLR indexed for a schemaless ...
I am using schemaless SOLR to try to index everything as string, but for files with empty fields, those fields do not get...
Read more >
Sending Null or Nil or Empty Strings or Omitted Fields in XML ...
For solutions which avoid sending an unnecessary closing tag see "The normalised versions" below. ... Ensure that the tag (e.g. %%middlename%%) ...
Read more >
Why empty fields aren't being indexed? [#1977460] | Drupal.org
When researching this, I noticed that the results returned by SOLR vary by entity: if a field is empty in the entity, it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found