Questions tagged [full-text-search]

Full text search involves searching documents, usually involving unstructured text, as opposed to searching text fields in a structured database.

Full text search involves searching documents, usually involving unstructured text, as opposed to searching text fields in a structured database.

Full text search capabilities often include ranking of results by relevance, similarity matching, boolean queries, text clustering, and more.

Popular Full-text Search Tags

Popular Full-text Search Tags related to Open Source solutions.

7350 questions
2
votes
5 answers

C# - Searching strings

I can't seem to find a good solution to this issue. I've got an array of strings that are fed in from a report that I recieve about lost or stolen equipment. I've been using the string.IndexOf function through the rest of the form and it works quite…
DarkShadow
  • 185
  • 2
  • 4
  • 14
2
votes
3 answers

Severe error when trying to FREETEXTTABLE an indexed view with a CTE

Where stockView is an indexed view with a full-text index, I receive the error message below. The database is running on a 2008 Express engine in 2005 compatibility mode. Code: with stockCte (title, grade, price, weighted) as ( select sv.[title]…
kim3er
  • 6,042
  • 4
  • 38
  • 65
2
votes
4 answers

How to get total count in hibernate full text search?

I am trying using hibernate full text by following this link: hibernate/search/4.1/reference/en-US/html/getting-started Basically, it works, but I want to know how to get total count while I execute a full text query,then I can tell user how many…
Tom
  • 2,767
  • 9
  • 41
  • 58
2
votes
2 answers

What's the algorithm for faceted search?

faceted search is often seen nowadays, but what's its algorithm, how does it do a faceted search so fast among large datasets? I am going to implement a faceted search by myself so any tips or clues are welcome
Mickey Shine
  • 11,559
  • 22
  • 84
  • 142
2
votes
1 answer

Search index replication

I am developing an application that requires a CLucene index to be created in a desktop application, but replicated for (read-only) searching on iOS devices and efficiently updated when the index is updated. Aside from simply re-downloading the…
Xtapolapocetl
  • 575
  • 4
  • 20
2
votes
5 answers

PHP/MySQL: Simple search engine

I'm putting together a simple search engine for a small site. Users will be able to search for their friends by their email address or name. I was hoping to use FULLTEXT search, but I'm using InnoDB tables, so that takes me back to LIKE…
Chuck Le Butt
  • 43,669
  • 58
  • 179
  • 268
2
votes
1 answer

Lucene - simpleAnalyzer - How to get matched word(s)?

I can't get offset of or directly the word itself by using the following algorithm. Any help would be appreciated ... Analyzer analyzer = new SimpleAnalyzer(); MemoryIndex index = new MemoryIndex(); QueryParser parser = new…
Javatar
  • 4,121
  • 14
  • 48
  • 64
2
votes
2 answers

Using Lucene with database data

I just started learning about Lucene and I get how it can be very useful for searching documents and such, but does anyone use it for searching database data? For example, I need to make a search that will search for keywords based on two fields…
chobo
  • 29,453
  • 35
  • 118
  • 182
2
votes
3 answers

How to increase the ranking of a search text in solr?

can any body please help us to know how to increase the releavncy of exact phrase in solr?
Kp Gupta
  • 443
  • 1
  • 7
  • 22
2
votes
2 answers

Ruby: Find Most Common Phrase in array of strings

I'd like to be able to find the 10 most common questions in a array of 300-500 strings, in Ruby. An example element being ["HI, I'd like your product. I just have one question. How do I change my password?", "Can someone tell me how I change my…
Emil Hajric
  • 700
  • 1
  • 9
  • 25
2
votes
3 answers

Extract small relevant bits text (as Google does) from the full text search results

I have implemented a full text search in a discussion forum database and I want to display the search results in a way Google does. Even for a very long html page only a two or three lines of the texts displayed in a search result list. Usually…
AlexKelos
  • 347
  • 2
  • 5
  • 9
2
votes
1 answer

What's the most efficient way to do weighted fulltext search in MYSQL?

In order to give different columns different weights,of course one can use: select ... from table_name where match(column1,column2...columnn) against('+test..') order by weight1*(match (column1) against('test..')) +…
omg
  • 123,990
  • 135
  • 275
  • 341
2
votes
2 answers

Hibernate + MSSQL + Fulltext Search via Contains

My goal is to use the MSSQL Fulltext Function with HQL. For what case I wrote a specific SQLFunction mapping the my "fulltext" function to the contains function. However, the problem is that in HQL (it seems) I have to explicity use a return type,…
Torsten
  • 51
  • 1
  • 6
2
votes
2 answers

Mysql MATCH AGAINST short words

I want to display relevant products on a page. I use the following query: SELECT item.*, MATCH (item.title) AGAINST ('M' IN BOOLEAN MODE) AS relevancy FROM __items AS item ORDER BY relevancy DESC The table __items has a few items (id, title) and…
Bert
  • 785
  • 2
  • 5
  • 16
2
votes
5 answers

how an search index works when querying many words?

I'm trying to build my own search engine for experimenting. I know about the inverted indexes. for example when indexing words. the key is the word and has a list of document ids containing that word. So when you search for that word you get the…
Federico
  • 4,641
  • 5
  • 32
  • 40
1 2 3
99
100