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 9238099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:40:51+00:00 2026-06-18T07:40:51+00:00

We are deploying the RT index in our architecture. But we need some clarification

  • 0

We are deploying the RT index in our architecture. But we need some clarification and some difficulties faced during the deployment.

Schema defined in Index:

        index logtable
        {
        type = rt
        path = /usr/local/sphinx20/var/data/logtable
        rt_attr_string = TransactionId
            rt_attr_uint = CustomerId
        rt_attr_timestamp = DateOfTransaction
        rt_attr_string = CustomerFeedback
        rt_field = TransactionType
        }

Faced Problem

Question 1:
How we can get the count() query result in SPHINXQL. Because its important for us, based on customer count we have to take it to show in our application.

Example below,

Query - select count(*) from logtable where CustomerId='871';   

In SphinxQL – We didnt get this result and getting the following error.ERROR 1064 (42000): index logtable: invalid schema: Count(*) or @count is queried, but not available in the schema.

Question 2:
i declared as a STRING attribute in conf for the field of “TransactionId”, but i cant able to retrieve the records if that fields use in where condition.

    Example below, 

    select * from logtable where TransactionId='TRA23454'; 

Following error i am getting,
ERROR 1064 (42000): sphinxql: syntax error, unexpected $undefined, expecting CONST_INT or CONST_FLOAT or ‘-‘ near ‘”TRA23454″‘

Please help us to close these issues if knows.

Kumaran

  • 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-06-18T07:40:52+00:00Added an answer on June 18, 2026 at 7:40 am
    select * from logtable where TransactionId='TRA23454';
    

    Answer :

    select * from logtable where  MATCH('@TransactionId TRA23454')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am out of ideas and need some please. I am trying to push
I'm deploying nutch. At first I just left the index file under /root/nutch1.0 .
I'm experiencing some issues at the moment, when deploying maven site into Alfresco. In
Deploying on JBoss AS 7.1.0.Final. I have a very simple test app. It was
After deploying WCF server (svc) on my Server, I have got this message when
When deploying a web-role to the Windows Azure cloud, what is the default behavior
After deploying to Azure, I kept getting server errors -- the application would not
When deploying a web project written in ASP.Net, what happens to user sessions? Do
After deploying a set of services on QA environemnt, one orchestration is suspended with
While deploying my application, I got the error message: Thread 1:Program received signal: EXC_BAD_ACCESS.

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.