Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7031323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:47:18+00:00 2026-05-28T00:47:18+00:00

Firstly, let me say that I know that http://sphinxsearch.com/docs/current.html#conf-sql-attr-string says strings can only be

  • 0

Firstly, let me say that I know that http://sphinxsearch.com/docs/current.html#conf-sql-attr-string says “strings can only be used for storage and retrieval” and that “They can not participate in expressions, be used for filtering, sorting, or grouping”…

Having said that, using Sphinx 2.0.2, accessing the index via both the SQL interface (on port 9306) as well as via SphinxSE I am able to sort, at least, on a string attribute I have.

So although that doesn’t necessarily mean that the documentation is completely wrong, it does leave me with a small amount of hope that I can filter by that string attribute, too.

Unfortunately I don’t know if I can, and if I can, I don’t know how.

Can someone here please put me out of my misery?

[EDIT]

The attribute is ‘mail_street_name’ and I’ve tried filtering it a number of ways. Trying to filter on ‘box’, for example, in the SphinxSE query string I’ve tried filter=mail_street_name,box, filter=mail_street_name,"box" and filter=mail_street_name,\'box\' (escaped because it sits inside a string). These queries result in no change to the result set (as if I didn’t try and filter on that attribute at all).

With the MySQL connection on port 9306 I’ve tried WHERE mail_street_name='box', WHERE mail_street_name="box", WHERE mail_street_name=box and using LIKE instead of =, all to be given a syntax error (Error 1064 (42000)) from SphinxQL.

Many thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:47:19+00:00Added an answer on May 28, 2026 at 12:47 am

    As I stated in my last comment, you could try defining a field (http://sphinxsearch.com/docs/current.html#conf-sql-field-string).

    You could do a WHERE MATCH((@mail_street_name '*box*'))

    And according to the documentation, you are still able to sort on it also

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Firstly, let me start by saying that I haven't ever directly used SQL views.
Firstly, let me just say that I'm very new to JSR-170 and Jackrabbit/Lucene in
Firstly, let me say that I've been on this issue for pretty much 2
Let's say I have some email: some_email@yahoo.com . Firstly I would want to remove
Firstly I know that there are many question and solutions to correct thread marshalling
Firstly let me say I believe immutability is one of the best things one
Possible Duplicate: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive Firstly, let me
Firstly, I have done my research and already know that JavaScript = client JSPs
Firstly, let me set out what I'd like to do. Assume I have three
Firstly, I was wondering if there was some kind of built in function that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.