top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to implement index search in codeigniter PHP framework application

+1 vote
856 views

Need to implement searching technology for whole website using index,
Required alogrithm or logic for that in php

posted Jul 22, 2014 by Mithun Kumar Muddan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

Don't get your question fully but you can try the following link -

Try the following link -
http://joefreeman.co.uk/blog/2009/10/fulltext-search-with-mysql-and-codeigniter/

But the fastest way to implement is to install the custom search engines from Google its free for 100 searches per day and unlimited with adsense.

answer Jul 23, 2014 by Tapesh Kulkarni
0 votes

Agree with Tapesh that try google custom search engine its also called google site search. The same is offered by the bing but it is not good.

In case your site is not an open site then you need to build yourself but in that case you need to provide more information. We at queryhome hate any third party solution and rely on inhouse implementation which is easy to maintain and it is based on text score. comment on this answer with more info and we will try to answer accordingly.

answer Jul 23, 2014 by Salil Agrawal
Similar Questions
+3 votes

I need a logical distinction for two search criteria in imap_search().

The RFC 2060 says this: OR

I tried almost all possible combinations of quoted strings for OR, UNSEEN and DELETED, but all return false.

Can anyone help me...

+2 votes

I am trying to search the phrase of numbers in a html page in the
sentence below:

(253 items)

I used this piece of code, but it does not work,

limit= page.search("div[class=Results]").search("div").gsub("items","")

 begin
 Integer(limit)
 rescue
 return 0
 end

Would you give me any suggestion on this?

+1 vote

I have about 500 search queries, and about 52000 files in which I have to find all matches for each of the 500 queries.

How should I approach this? Seems like the straightforward way to do it would be to loop through each of the files and go line by line comparing all the terms to the query, but this seems like it would take too long.

Can someone give me a suggestion as to how to minimize the search time?

...