Note that there are some explanatory texts on larger screens.

plurals
  1. POSolr, have to enter whole word
    primarykey
    data
    text
    <p>I have items in my index with several words in each filed (text_general). Eg. "one to three four".</p> <p>I have made a jQuery autosuggest querying my index, but i need to type one of the words from my text_field to get a respond. Eg. "one". "O" or "On" won't give me a result.</p> <p>This has worked before with the same settings, so I can't figure out why it doesn't anymore. Only thing I really changed is the data I indexed and that I now have 2 entities in my data-config.xml, instead of one.</p> <p>I have copied several fields to the filed: </p> <pre><code>&lt;field name="test" type="text_general" indexed="true" stored="false" multiValued="true"&gt; </code></pre> <p>(See further below)</p> <p>I have have played around with multiValue, but it didn't seem to be the problem. Any suggestions what to look at?</p> <p>It's Solr 4.4.</p> <p>data-config.xml</p> <pre><code>&lt;entity name="product" dataSource="sqlServer" pk="ProductID" query="SELECT ProductID, ProductNumber, ProductName, ProductShortDescription, ProductLongDescription, ProductPrice, ProductFeatures, ProductSymbols, ProductApplications FROM EcomProducts"&gt; &lt;field column="ProductID" name="Id"/&gt; &lt;field column="ProductNumber" name="ProductNumber"/&gt; &lt;field column="ProductName" name="Name"/&gt; &lt;field column="ProductShortDescription" name="ProductShortDescription"/&gt; &lt;field column="ProductLongDescription" name="ProductLongDescription"/&gt; &lt;field column="ProductPrice" name="ProductPrice"/&gt; &lt;field column="ProductFeatures" name="ProductFeatures"/&gt; &lt;field column="ProductSymbols" name="ProductSymbols"/&gt; &lt;field column="ProductApplications" name="ProductApplications"/&gt; &lt;/entity&gt; &lt;entity name="tip" dataSource="sqlServer" pk="Id" query="SELECT Id, TipsContentHeader, TipsContentText, TipsPageId FROM ItemType_TipsFifContent"&gt; &lt;field column="Id" name="Id"/&gt; &lt;field column="TipsContentHeader" name="Name"/&gt; &lt;field column="TipsContentText" name="TipsContentText"/&gt; &lt;field column="TipsPageId" name="TipsPageId"/&gt; &lt;/entity&gt; </code></pre> <p>schema.xml</p> <pre><code> &lt;field name="Id" type="text_general" indexed="true" stored="true" required="true" /&gt; &lt;field name="Name" type="text_general" indexed="true" stored="true" required="false" multiValued="false" /&gt; &lt;field name="TipsContentText" type="text_general" indexed="true" stored="true" required="false" multiValued="false" /&gt; &lt;field name="TipsPageId" type="text_general" indexed="true" stored="true" required="false" /&gt; &lt;field name="ProductNumber" type="text_general" indexed="true" stored="true" required="false" /&gt; &lt;field name="ProductShortDescription" type="text_general" indexed="true" stored="true" required="false" multiValued="false" /&gt; &lt;field name="ProductLongDescription" type="text_general" indexed="true" stored="true" required="false" multiValued="false" /&gt; &lt;field name="ProductPrice" type="float" indexed="true" stored="true" required="false" /&gt; &lt;field name="ProductFeatures" type="text_general" indexed="true" stored="true" required="false" /&gt; &lt;field name="ProductSymbols" type="text_general" indexed="true" stored="true" required="false" /&gt; &lt;field name="ProductApplications" type="text_general" indexed="true" stored="true" required="false" /&gt; &lt;field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/&gt; &lt;copyField source="Name" dest="text"/&gt; &lt;copyField source="TipsContentText" dest="text"/&gt; &lt;copyField source="ProductShortDescription" dest="text"/&gt; &lt;copyField source="ProductLongDescription" dest="text"/&gt; &lt;defaultSearchField&gt;text&lt;/defaultSearchField&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload