Is the search package in python outdated

I'm trying to figure out the exact utility of the Search package in python There is hardly any documentation and I can't find anything online or on youtube that describes what this package does. On top of th...
more »

2017-12-03 02:12 (0) Answers

How to get search results quickly?

I have a database of objects in the firebase database, and I need a function to return some search results; if I receive a string to search the "Title" aspect of objects for some substring, I need to return a list of all of the objects which satisfy ...
more »

2017-12-02 06:12 (1) Answers

Searching and appending rows to a new dataframe

I'm trying to search for a particular string in Dataframe - 'df' and choose that corresponding row and append it to a new data frame - 'X'. Below is my code for one search instance. I need to perform different search instanced as I go through 'df' Da...
more »

2017-12-02 06:12 (0) Answers

Search and Replace not saving to file

I am new to Perl been working about a day with it. I am trying to write a script that will go to every .cpp file and .hpp file change the files permission to read and write, while also searching for a string and replacing it. This is what I have so f...
more »

2017-12-01 18:12 (2) Answers

Data Masking in elasticsearch

I wanted to know is there any way we can achieve the below usecase from elasticsearch inbuild feature. I have employee data indexed in elasticsearch search EMP ID FNAME LNAME COUNTRY Organization Other 50 Attributes associat...
more »

2017-12-01 17:12 (1) Answers

Hibernate Criteria Inner Join

I want to know if it's possible to make an INNER JOIN (like in SQL) with criteria in Hibbernate ? I had these table : Event : #id, name, img,fkIdTour ... Tour : #id, name, description And I want to make INNER JOIN with criteria to search in desc...
more »

2017-11-30 23:11 (0) Answers

Mapping sets on labels data structure in Python

I have a set of keywords that looks like S = {'apples', 'bananas', 'grapes', 'lemons'}and I want to associate a label fruit to this set in order to classify them basing on the set membership function: return 'fruit' if x in S. I have many such sets a...
more »

2017-11-30 22:11 (2) Answers

NameError in Django simple search

I have a simple search in my Django project. I want to search through documents using their type and part of factory info in addition to search by name. Here is my class Docs(models.Model): Date = models.DateField( ...
more »

2017-11-30 20:11 (2) Answers

Implementing Facebook Places Search - City Only

I am implementing Facebook Places Search in my iOS application. Elsewhere in my application I am implementing a search where the user can only search Cities. Can I use Facebook Places to search Cities only? or do I have to implement another library i...
more »

2017-11-30 17:11 (0) Answers

Searching after filtering, AngularJS

I'm using ui-select to create a multiple select that can be searched, but I think this problem can be replicated in any ng-repeat-like structure. I have an array of languageIsoCodes, like this: [es, en, it, ca, ar, af, al, fr] I have a repeat loo...
more »

2017-11-29 18:11 (0) Answers

Cannot Adjust Joomla Smart Search Module Width

I am using the Joomla smart search module. I tried to adjust the "Search Field Size" to increase the box size but nothing happened. Then I tried to edit the template, but nothing happened too. I am using the latest Joo...
more »

2017-11-29 10:11 (1) Answers

Python - Error Search of BST

I have a problem with an BST (Binary Search Tree) or ABB in Spanish. My problem is that the fuction search(), or buscar() in Spanish, doesn't work. I don't know what I'm doing wrong. Here is the code: #TAD de Árbol Binario de Búsqueda class ...
more »

2017-11-28 19:11 (0) Answers