Skip to main content
Fixed grammar and improved formatting.
Source Link
Sumit Helaiya
  • 3.2k
  • 2
  • 12
  • 23

I am using Solr version 8.8.1 in a docker containerSolr version 8.8.1 in a docker container. I use an address query system based on a csvCSV file. I want to get a city in relation to the street name. The fields in my managed-schema are looking like this:

The result of a normal query (without a suggester) looks like this:

The following query brings correctly one result: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

There seems to be a problem with spaces in the context query. Has someone had an idea?

I am using Solr version 8.8.1 in a docker container. I use an address query system based on a csv file. I want to get a city in relation to the street name. The fields in my managed-schema are looking like this:

The result of normal query (without suggester) looks like this:

The following query brings correctly one result: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

There seems to be a problem with spaces in the context query. Has someone an idea?

I am using Solr version 8.8.1 in a docker container. I use an address query system based on a CSV file. I want to get a city in relation to the street name. The fields in my managed-schema are looking like this:

The result of a normal query (without a suggester) looks like this:

The following query brings correctly one result:

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results:

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

There seems to be a problem with spaces in the context query. Has someone had an idea?

Rollback to Revision 3 - Edit approval overridden by post owner or moderator
Source Link
tho
  • 13
  • 5

All indexes are successfully builtbuild. 

The following query brings correctly one result:

http http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results:

http http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

All indexes are successfully built. The following query brings correctly one result:

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results:

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

All indexes are build. 

The following query brings correctly one result: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

All indexes are buildsuccessfully built.

  The following query brings correctly one result: http

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results: http

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

All indexes are build.

  The following query brings correctly one result: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results: http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

All indexes are successfully built. The following query brings correctly one result:

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Teststreet

But the following returns no results:

http://localhost:8983/solr/addrescore/suggest?suggest=true&suggest.dictionary=sugCitySuggester&suggest.q=Test&suggest.cfq=Am%20Bahndamm

deleted 41 characters in body
Source Link
tho
  • 13
  • 5
Loading
added 274 characters in body
Source Link
Gatogordo
  • 20.3k
  • 2
  • 39
  • 100
Loading
Source Link
tho
  • 13
  • 5
Loading