private bool PrepareSecoundQuery(string producer)
        {
            string[] producerWords = producer.Split(' ');

            foreach (var word in producerWords)
            {
                if (SearchQuery.Contains(word))
                {
                    SearchQuery = SearchQuery.Replace(word, "");
                    return(true);
                }
            }

            return(false);
        }
        public void SearchQueryFact009()
        {
            // Arrange
            var solrOptions       = new SolrExpressOptions();
            var solrConnection    = new FakeSolrConnection <TechProductDocument>();
            var expressionBuilder = new ExpressionBuilder <TechProductDocument>(solrOptions, solrConnection);

            expressionBuilder.LoadDocument();
            var searchQuery = new SearchQuery <TechProductDocument>(expressionBuilder);

            // Act
            var result = searchQuery.Contains("some value").Execute();

            // Assert
            Assert.Equal(@"/*.some value.*/", result);
        }