Question

Send a question

If you have any question regarding the product please do not hesitate to contact us. Please fill out the contact form, or send a mail to contact@sphinxconnector.net.

Help

Documentation

The documentation for SphinxConnector.NET can be accessed online here. When installing the MSI package, you can choose to have the documentation integrated in the Visual Studio Help Collection.

Frequently Asked Questions

1. Which files/DLL's do I need to reference in my project?

You need to at least reference Gronewold.SphinxConnector.dll and Common.Logging.dll. In Visual Studio select Project/Add Reference and switch to the .NET tab. You'll find all necessary files there.

2. What are the other files for?

These files are part of the logging framework. There is one DLL for each supported logging framework.

3. How do I enable logging then?

Have a look at the SphinxConnector documentation for an example, or refer to the Common.Logging documentation in your installation directory for an in-depth guide.

4. All my queries only return five results, although there should be more. Am I doing something wrong?

No, this is a limitation of the trial version and will go away as soon as you purchase a license key.

5. Okay, I purchased a key/got a trial key. Now my queries return 20 results, although there should be more. Why is that?

This is the default setting of the Limit property of SphinxClient.SearchOptions. Please change it to the desired value. If you are using SphinxQL, this is because there is an implicit LIMIT 0,20 set by Sphinx. If you want more results you need to specify a LIMIT clause, see also here.

6. Can I get a temporary license key to test the full functionality?

Yes, please contact us directly to request a trial key.

7. I cannot seem to find a method for escaping my query strings. Where is it?

The SphinxHelper class contains an EscapeString method.

8. Sphinx does not return the expected results for my query. I'm using the SphinxClient class. What could be the problem?

The first things to check, are the Error and Warning properties of the returned SphinxSearchResult. Other things to check are the settings for match mode and rank mode. There is no "right" or "wrong" there, but your current ranker/match mode may not be appropriate for the intended result.
Also check the query itself: if it has many filters, try to remove all of them and then re-add them one by one. That way, you can determine if any of the filters are responsible for the "wrong" result.

9. I'm using the native API with Sphinx 1.10/2.0.x and my string attributes show up empty in the result set. What am I doing wrong?

You need to set the version property of the SphinxClient class to 1.10.1 or 2.0.x eg. SphinxClient.Version = SphinxVersion.V202

10. Does SphinxConnector.NET run in a medium-trust environment?

Unfortunately, at the moment it does not. While SphinxConnector.NET itself should work with medium-trust, the logging library that is being used by SphinxConnector.NET does not support running under medium-trust. This issue will most likely be resolved with the next major release.

11. How long will it take for me to receive my license key?

If you choose to pay via credit card or PayPal you'll usually receive your license within a few minutes after completing the order.

12. I have received my license key, what do I do with it?

Please assign the key to the (static) License property of the SphinxClient class. It is usually best to place that code in the startup routine of your application.

13. I cannot purchase through your reseller, can I still buy a license?

Yes, please contact us directly and we'll work something out.