Note that there are some explanatory texts on larger screens.

plurals
  1. POmatching webpages keywords to a set of keywords in database
    primarykey
    data
    text
    <p>in my database i've list of say 5000 rows (as keywords). now given an article (may be even 1000 words), i want to match any words matching to keywords in database. for example, i've these records in db (rows are mentioned using comma): <code>tv, tv and videos, movie, horror movie, camera, digital camera, canon digital camera</code> </p> <p>Each row has another column named 'URL'. And my input string may be like:</p> <blockquote> <p>i hate horror movies. Canon releases a new digital camera. So far I own 3 digital cameras...'</p> </blockquote> <p>from the above string, i need to match:</p> <ul> <li><strong>horror movies</strong> against my stored keyword <em>horror movie</em>. but i don't want only <strong><em>movies</em></strong> to be matched against <em>movie</em> as <strong>horror movie</strong> keyword is more appropriate here. </li> <li><strong>digital camera</strong> against stored keyword <em>digital camera</em></li> <li><strong>digital cameras...</strong> against stored keyword <em>digital camera</em></li> </ul> <p>(bold phrases exists in the article, italic phrases are in database)</p> <p>Iteration through each keywords in database may be impossible and unrealistic. so far i've learned Solr may be a fit. but i'm not sure how will I index &amp; query Solr. For querying Solr, I've to provide the keywords. But i do not know what are my keywords. I just know the whole article. A keyword may consists 1 or many words. Totally random, but i can say maximum 5 words. </p> <p>After matching, i need to replace the keywords in the article with the next column's (URL) value. for example, the keywords in the article <strong>horror movies</strong> need to be replaced with the URL column of the <em>horror movie</em>. </p> <p>can anyone enlighten me with the correct path? any help is appreciated. </p> <p>thanks in advance</p>
    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.
 

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