full-text-search

MySQL multiple Id lookups

落爺英雄遲暮 提交于 2019-12-10 17:54:19
问题 I'm trying to add a full text search to a system. The query I want to write needs to involve multiple lookups followed by the search (if that's even possible). I've got a table of teachers and a table of subjects. teacherProfile teacherId [int] - primary key subjectOneId [int] subjectTwoId [int] subjectThreeId [int] teacherBiography [text] subjects subjectId [int] subjectName [text] So ultimately I want a resultset along the lines of.. teacherId [int] teacherBiography [text] ( subjectOneName

MySQL InnoDB Text Search Options

蹲街弑〆低调 提交于 2019-12-10 17:43:29
问题 Knowing full well that my InnoDB tables don't support FULLTEXT searches, I'm wondering what my alternatives are for searching text in tables ? Is the performance that bad when using LIKE ? I see a lot of suggestions saying to make a copy of the InnoDB table in question in a MYISAM table, and then run queries against THAT table and match keys between the two and I just don't know that that's a pretty solution. I'm not opposed to using some 3rd party solution, I'm not a huge fan of that though.

SQL 2008 fulltext index population delay

北城余情 提交于 2019-12-10 16:10:19
问题 My manager is saying that there may be some time before a full text search index is updated after the underlying table data has changed. For example, if I have a table Products with a column Description and I update that description, then it could take some time before I can search on that new description. Is that true? How long can this take? And is this improved in SQL 2008? If a user modifies a description we require that a subsequent search should be searching that modified data, not

Plone full text indexing Excel files

China☆狼群 提交于 2019-12-10 15:46:14
问题 how can I customize Plone search engine in order to actvate full text indexing of excel files? I have already installed pdftotext and wv for pdf, word files full text indexing. 回答1: If you add Products.OpenXml to your instance eggs and install it in Plone you can index modern Office formats, at least .docx and .xlsx. For plain old Excel (.xls) files this does not work. I tried it in a Plone 4.3.2 buildout config a few weeks ago: [instance] eggs = ... Products.OpenXml [versions] # You need a

Unicode support for non-English characters with Sqlite Full Text Search in Android

谁说胖子不能爱 提交于 2019-12-10 15:45:44
问题 Scroll to the end to skip the explanation. Background In my Android app, I want to use non-English Unicode text strings to search for matches in text documents/fields that are stored in a SQLite database. I've learned (so I thought) that what I need to do is implement a Full Text Search with fts3/fts4, so that is what I have been working on learning for the past couple days. FTS is supported by Android, as is shown in the documentation Storing and Searching for Data and in the blog post

Tell me SQL Server Full-Text searcher is crazy, not me

为君一笑 提交于 2019-12-10 14:39:16
问题 i have some customers with a particular address that the user is searching for: 123 generic way There are 5 rows in the database that match: ResidentialAddress1 ============================= 123 GENERIC WAY 123 GENERIC WAY 123 GENERIC WAY 123 GENERIC WAY 123 GENERIC WAY i run a FT query to look for these rows. i'll show you each step as i add more criteria to the search: SELECT ResidentialAddress1 FROM Patrons WHERE CONTAINS(Patrons.ResidentialAddress1, '"123*"') ResidentialAddress1 =========

Fuzzy Street Address Searches Using MySQL Fulltext (or sphinx?)

 ̄綄美尐妖づ 提交于 2019-12-10 13:16:21
问题 I have a database table full of addresses from Google Maps geocode responses. Google abbreviates all directions (West -> W, East -> E, etc). So if I enter an address like "100 West Pender Street" then the formatted address returned by Google Maps is "100 W Pender St" which I insert into my table. Now if a user comes along and searches for that address, all of the following should match: pender street west pender street 100 pender 100 w pender 100 west pender and they more or less do. the "w"

Auto Suggestion not working in Lucene after first search iteration

≡放荡痞女 提交于 2019-12-10 12:44:26
问题 Currently I am working on the auto suggestion part using lucene in my application. The Auto suggestion of the words are working fine in console application but now i have integerated to the web application but it's not working the desired way. When the documents are search for the first time with some keywords search and auto suggestion both are working fine and showing the result. But when i search again for some other keyword or same keyword both the auto suggestion as well as Search result

Cassandra Full-Text Search

隐身守侯 提交于 2019-12-10 12:33:52
问题 Full-Text search in Cassandra; I am fairly new to Cassandra, and wish to understand it more properly. I am attempting to perform a Full-Text search in Cassandra, but after some research I have found that there may not be a "simple" approach for this.. and I say maybe because the first page of Google hasn't said much of anything. So I am trying to understand now instead, what is the best approach here.. This sort of lead me to take make up my own assumptions based on what I've learned so far

mysql query to match sentence against keywords in a field

会有一股神秘感。 提交于 2019-12-10 12:16:04
问题 I have a mysql table with a list of keywords such as: id | keywords ---+-------------------------------- 1 | apple, oranges, pears 2 | peaches, pineapples, tangerines I'm trying to figure out how to query this table using an input string of: John liked to eat apples Is there a mysql query type that can query a field with a sentence and return results (in my example, record #1)? 回答1: One way to do it could be to convert apple, oranges, pears to apple|oranges|pears and use RLIKE (ie regular