I want to search my website

I am a complete noob at this — I don’t know the right terminology.

I want to be able to search my website to see which html files (let’s say) contain a given word, let’s say thermodynamics.

I looked online for OSS search engines and it seems solr, Elasticsearch, and Sphinx are “big” in this area. So I downloaded all three. I’ve been through the tutorial for solr, and my impression is that these are far more than what I want, or maybe these aren’t what I want at all.

So, the question is, what can I use to index my own private website for my own private purposes? This isn’t “big data” or a commercial enterprise. What should I look for?


Check your search engine visability on demand for $5

No more guess work on your site’s positions in search engines. Just sit back and let me do the job for you: 329 search engines10 competitors to compareUnlimited number of keywordsGeo-specific rankingsGraphs, showing progress over timeI will check your website rankings on search engines and keep track for you. With this information you can Identify keywords you need to focus on. See what you may be ranking well for already. Spot keywords your website doesn’t rank high for.

by: eliteTony
Created: —
Category: Onsite SEO & Research
Viewed: 144

Why is elastic search popular? [closed]

Elastic search is basically about indexing of data.

In database world,

Multiple indexes can be created on a MongoDB collection

Collection in MongoDB can be schema-less.

In MongoDB, BSON encoding of JSON syntax is used to communicate queries to MongoDB

In Elastic search, indexing is performed on such schema-less documents with JSON syntax.

1) I could not see the difference between,

  • indexing of a MongoDB collection


  • indexing in Elastic search

2) I would like to understand the value-add of indexing in Elastic search over indexing of a MongoDB collection.

3) Why would I use Elastic search, if I already index a MongoDB collection?


Why is elastic search so popular?

Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages

Magento CE 2.2.2 ElasticSearch 6.4 PHP 7.1 Apache 2.4

Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages

We have installed

Amasty Layered Navigation Amasty ElasticSearch

When we enable in admin Amasty Elasticsearch – chaged it from Mysql to Amasty Elasticsearch – our products on the front end – category / listing pages dissapear –

Magento admin -> Configuration -> Catalog -> Catalog Search

If I then RESAVE in admin same product they appear in front end.

I spent along time researching and notice other people with similar issues when enabling ElasticSearch but no fixes. This is same problem with other company elasticsearch extension.

How to handle conditional formatting/CSS in PnP Search Web Part?

I just love the PnP Search web part as it allows us to bring forward the enterprise search solutions. Great work!!

My question is how to best handle conditional formatting. In the code below I have a requirement that site collections should have a green header color and anything else should be red. The code works but I have a hard time mixing content and css. Is there any guideline how this should be handled? Thanks

 {{#each items as |item|}}                 <div class="ms-Grid-col ms-sm12 ms-md6 ms-lg4">                     {{#> resultTypes}}                         {{!-- The block below will be used as default item template if no result types matched --}}                         <div class="singleCard">                                 {{#eq RefinableString01 'STS'}}                                     <li class="ms-ListItem ms-ListItem--document" style="background-color: green"  tabindex="0">                                 {{else}}                                         <li class="ms-ListItem ms-ListItem--document" style="background-color: red"  tabindex="0">                                 {{/eq}}                                 <div class="cardInfo">                                     <span class="HeaderImage" ><img  src="/sites/TestingReactSearchWebPart/ModernDisplaytemplates/classic_logo_large.png" alt=""></span>                                     <span class="titleArea" style="word-wrap: break-word"> <h3><a  href="{{getUrl item}}">{{Title}}</a><br /></h3> </span>                                        <span class="ms-ListItem-secondaryText">Template: {{RefinableString01}}</span>                                     <span class="ms-ListItem-tertiaryText">{{getDate Created "LL"}}</span>                                      <div class="ms-ListItem-selectionTarget"></div>                                 </div>                             </li>                         </div>                     {{/resultTypes}}                 </div>             {{/each}} 

Elasticsuite Analytics – Search Usage Not Populating with Data

We have been using elasticsuite since our site went live (6+ months ago) to handle all the searching for the site (as well as Virtual Categories, Filtering, etc).

Now we want to start evaluating the search terms that our customers use in order to provide better product coverage and the like. Our problem is that under the Elasticsuite > Analytics > Search Usage no data is being shown.

Image showing blank data

There is denfinitly searches happening on the site so I would assume the data should be showing up.

After some searching I have not been able to find any info on what might be causing this but I’m guessing I have something misconfigured. If anyone has faced a similar issue or knows what might be happening, suggestions would be greatly appreciated!

TL:DR: How do I populate the ‘Search Usage’ Elasticsuite page with search data?

Version Info

Magento : CE 2.3.1

Elasticsearch : 5.6.16

Magento 2 Load UI grid only after filter search

I have created custom module. In that I am displaying product collection in Ui grid. I have extend \Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider to display collections.

What is my requirement : I want to display(load) collection only after user search anything from filter.

The UI grid should not display any product until user search anything from filter.

My code For this file app/code/Company/module/Ui/DataProvider/Product/Vendor/ProductDataProvider.php

<?php /**  * Copyright © 2015 Magento. All rights reserved.  * See COPYING.txt for license details.  */ namespace Company\module\Ui\DataProvider\Product\Vendor;  use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory;  /**  * Class ProductDataProvider  */ class ProductDataProvider extends \Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider {      /**      * Construct      *      * @param string $  name      * @param string $  primaryFieldName      * @param string $  requestFieldName      * @param CollectionFactory $  collectionFactory      * @param \Magento\Ui\DataProvider\AddFieldToCollectionInterface[] $  addFieldStrategies      * @param \Magento\Ui\DataProvider\AddFilterToCollectionInterface[] $  addFilterStrategies      * @param array $  meta      * @param array $  data      */     public function __construct(         $  name,         $  primaryFieldName,         $  requestFieldName,         CollectionFactory $  collectionFactory,         array $  addFieldStrategies = [],         array $  addFilterStrategies = [],         array $  meta = [],         array $  data = []     ) {         parent::__construct($  name, $  primaryFieldName, $  requestFieldName, $  collectionFactory, $  addFieldStrategies, $  addFilterStrategies, $  meta, $  data);         $  this->collection->addAttributeToFilter('type_id', 'configurable');         $  this->collection->addAttributeToFilter('has_options', '1');         $  this->collection->joinField(             'qty',             'cataloginventory_stock_item',             'qty',             'product_id=entity_id',             '{{table}}.stock_id=1',             'left'         );     } } 

Search is not working by product attributes

We have added couple of products on our Magento 2 site. In the home page of the site, we have a search form and there we have put input boxes as product name, from, to and location. We want to display the results as per the selected criteria in the form but its not working as expected.


<dd id="construction" class="item content active" data-role="content" >                      <form method="GET" action="<?php echo $  block->getUrl('catalogsearch/result/');?>">                         <fieldset class="search-forms-fieldset" id="date-range-1">                         <legend class="legend"><span><?= /* @escapeNotVerified */ __('Search Settings') ?></span></legend>                          <div class="field region">                             <label for="select" class="label"><span>Select</span></label>                              <div class="control" id="conselect">                                 <input type="text" name="q" placeholder="<?= /* @escapeNotVerified */ __('What are you looking for?') ?>" />                                 <?php /*?><select name="looking" id="looking">                                     <option value="">Please select</option>                                     <option value="5">5</option>                                     <option value="10">10</option>                                     <option value="15">15</option>                                     <option value="20">20</option>                                 </select><?php */?>                             </div>                         </div>                         <div class="field">                             <label for="location" class="label"><span><?= /* @escapeNotVerified */ __('Location') ?></span></label>                              <div class="control" id="conlocation">                                 <input type="text" name="location" placeholder="<?= /* @escapeNotVerified */ __('Location') ?>" />                             </div>                         </div>                          <div class="field">                             <label for="available_from" class="label"><span><?= /* @escapeNotVerified */ __('Available From') ?></span></label>                              <div class="control" id="confrom">                                 <input type="text" name="available_from" placeholder="<?= /* @escapeNotVerified */ __('Available From') ?>" id="date-from-1" />                             </div>                         </div>                         <div class="field">                             <label for="available_to" class="label"><span><?= /* @escapeNotVerified */ __('Location') ?></span></label>                              <div class="control" id="conto">                                 <input type="text" name="available_to" placeholder="<?= /* @escapeNotVerified */ __('Available To') ?>" id="date-to-1"/>                             </div>                           </div>                          </fieldset>                         <div class="actions-toolbar">                           <div class="primary">                             <button type="submit"                                     class="action search primary"                                     title="<?= $  block->escapeHtml(__('Search')) ?>">                                 <span><?= /* @escapeNotVerified */ __('Search') ?></span>                             </button>                           </div>                         </div>                       </form>                  </dd> 

Please see the below screenshot for your reference:

enter image description here